I'm trying to find files in a folder, say ones matching "acoustic" and then move all the results found into another folder.
I have done this to find the files:
Code:
/media/seagate/guitar/tabstolearn > find -iname "*acoustic*"
./Hendrix, Jimi/Hendrix, Jimi - Hear My Train A Comin' (acoustic).gp3
./Radiohead/Radiohead - Fake Plastic Trees (Acoustic Version ).gp3
./Radiohead/Radiohead - Creep Acoustic.gp4
./Radiohead/Radiohead - Lucky Acoustic.gp4
./Radiohead/Radiohead - Just Acoustic.gp3
./Radiohead/Radiohead - creep ( version acoustic ) _-).gp3
./Metallica/Metallica - Nothing Else Matters - Acoustic Remix.gp3
./Metallica/Metallica - Nothing Else Matters (arranged for one acoustic guitar).gp3
./Beatles/Beatles (The) - Yesterday (acoustic single guitar).gp3
./Lynyrd Skynyrd/Lynyrd Skynyrd - Sweet Home Alabama (Acoustic Version).gp3
./Lynyrd Skynyrd/Lynyrd Skynyrd - Free Bird (Acoustic).gp4
./Rolling Stones - Paint It Black (Acoustic Arrangement).gp5
./layla_acoustic_ver5.gp3
./Blues Acoustic Guitar
./Blues Acoustic Guitar/Blues Acoustic Guitar - Blues Correction, Blues Chords.gp3
./Blues Acoustic Guitar/Blues Acoustic Guitar - Blues Acoustic Guitar Lesson 1.gp3
./Led Zeppelin/Led Zeppelin - Hey Hey What Can I Do (Acoustic).gp3
./Beatles (The) - Yesterday (acoustic single guitar).gp3
./Guns N' Roses/Guns N' Roses - November Rain (Acoustic Version).gp3
How can I move these files (the results only that match my "find" search of course), into a specific folder now??
I have tried adding:
Code:
find -iname "*acoustic*" | cp *
But that just copied all the files, didn't pertain to only the results of the find search.
Thanks for any help
