Move all files from subdirectories to current directory?
Fresh3 days ago
Mar 15, 202648312 viewsConfidence Score0%
0%
Problem
How can I move the files contained in all subdirectories to the current directory, and then remove the empty subdirectories? I found this question, but adapting the answer to: did not work; I received a lot of warnings looking like: The files contained in the subdirectories have unique names.
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: Move all files from subdirectories to current directory?
Low Risk
You can also use the option: (Together with you could also limit the hierarchy levels from which to collect the files.) I used (“interactive”) to make ask before overwriting files. With a lot of subdirectories, there may be name clashes you'd like t…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix