linux - Backup files in pre-folders of a certain size -


i want backup nas on multiple dvd's. had in mind script following:

-create folder each dvd -copy files , filestructure dvd folders -stop / goto next dvd folder when first dvd folder full

i.e. trigger 4 gbyte (which calculates easy example)

i have datasrouce 10 gb of data., 3 dvd's. script first create 3 folders: dvd-1, dvd-2 , dvd-3. next copy start copy 4 gb dvd-1 folder. after that, remaining files must come in dvd-2 , dvd-3.

as far know, rsync , cp doesn't bother calculating this. know option using archives zip, tar or gz @ first want try unpacked files.

is above option standard linux bash commands or insane?

no, there isn't standard tool out of box. it's pretty simple code up, , there few projects it:

https://unix.stackexchange.com/questions/18628/generating-sets-of-files-that-fit-on-a-given-media-size-for-tar-t


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

c# - Unity IoC Lifetime per HttpRequest for UserStore -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -