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:
Comments
Post a Comment