FG
💻 Software

How to move only files in Unix

Fresh7 days ago
Mar 15, 202649661 views
Confidence Score0%
0%

Problem

How can I move only the plain files (not the directories) from one folder in Linux to another folder using the command? I have tried , but it copied everything including the directories.

Error Output

mv

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to move only files in Unix

Low Risk

You can try

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment