Thread: Move files under subdirectories into one folder?
hey guys,
right have mp3s scattered on 1 of hard drives in sub-directories. iterate through of subdirectories , move matching *.mp3 single specified directory. goal mp3s 1 folder.
there simple way through terminal?
thanks,
dillon
code:find /home/user/music -iname '*.mp3' -exec mv '{}' /home/user/backup/ \;
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Move files under subdirectories into one folder?
Ubuntu
Comments
Post a Comment