View Single Post
Old Jun 25th, 2005, 11:58 AM   #1
linuxpimp20
Hobbyist Programmer
 
Join Date: May 2005
Location: ma
Posts: 130
Rep Power: 4 linuxpimp20 is on a distinguished road
how to recursively copy or move part of a directory limited by size?

hi im trying to back up my system to do a fresh install. I have a directory named music where i ripped some of my cds. It is 2.2 gigs so i have to break it up to burn to cds as data files. I was wondering if there was any command i could use in a shell script that would be able to go thru that directory and splitting it up into directorys that are 600-700 mb to fit on a cd. The directory is set up like this ~/music/artist/album/files. I'd like the structure of the resulting components to be like the music folder - so i wouldn't want all the mp3s to be just tossed into 3 seperate folders. Any replies are appreciated. thanks in advance.
linuxpimp20 is offline   Reply With Quote