Change of suffix format on "split" tar archive files
I recently used the command below with the intent to back up about 1TB of data into an external HD:
tar -cvpj 'directory/name'/ | split -d -b 2000m - /name/of/archive.tar.bz2.
which produced a list of files named:
Now that I am trying to access this data I am realizing that the numbering of the chunks goes from 00 to 99, which got me thinking that actually not all of the original data may have been backed up, given that the suffix for the split files contains only 2 digits and can reach at most a value of "99".
Is there a way to change the format of the suffix to contain more than two digits?
Many thanks for your help!
Yes. Try option -a of split
Thanks a lot! How did I not see that?!?! :)
|All times are GMT -5. The time now is 12:57 PM.|