Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Multi-DVD or (multi-CD) spanning backups with tar' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Multi-DVD or (multi-CD) spanning backups with tar
Authored by: ruaric on Jun 29, '05 09:04:05AM

Yes, use -F or --info-script=FILE

This allows you to run a script at end of each tape. That way you could write to a tar file of a set size, when the first part is done you could have a script move that part to a subfolder called part1, when the next part is done it could move it to a subfolder called part2 (it could know to increase the folder number because the folder part1 already exists), and so on.

At the end you would have several folders each with a single part in them. The reason for putting them in subfolders is of course the fact that they all have the same file name.

I'll leave you to work out a suitable script! ;-)



[ Reply to This | Parent | # ]