[plug] Recursive Copying of Folder Contents
Lucas van Staden
lvs at dedmeet.com
Wed Jun 3 18:32:41 WST 2009
Hi
rsync might be a better tool to achieve this....not 100% sure, but give
it a try, it has many options.
-Lucas
Jason Posavec wrote:
> The Subject header pretty much sums it up. I want to recursively copy
> the contents only of nest folders to a specified destination.
>
> Basically, I have all my music managed by Rhythmbox in folders nested
> as Music/Artist/Album/Tracks. I want to copy all the music files to a
> common folder. SoundConverter allows me to load my Music folder
> recursively, and convert all the files to a common folder, but will
> only do this via a conversion, not a straight copy.
>
> I tried the copy command:
>
> cp -r --copy-contents ~/Music/* destination_folder
>
> but that insisted on copying folders as well. Obviously
> --copy-contents doesn't do what I think it does.
>
> Thanks in advance.
>
> Jason Posavec
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
More information about the plug
mailing list