I have a document library where all of my files are in folders based on category name but then they are also all in subfolders called 'pdf' as well. Is there a way in bash to scan through all of the directories in the library and move all files in folders named pdf to their parent directory?
|
The following moves every file from a
Remove the Note that this will overwrite files without asking when the parent already contains one with the same name. Use |
|||||||||
|
|
Here is what I thought of. Its not the prettiest thing, but it works to your specifications:
It moves only Example usage
|
|||||||||||||||||||||
|