Friday, 7 February 2020

bash - Move all files from subdirectories to current directory?

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:


mv * .

did not work; I received a lot of warnings looking like:


mv: wil and ./wil are identical

The files contained in the subdirectories have unique names.

No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...