Cat a number of files and want to know which file it is working on?

by Jason L Froebe on November 28, 2011, no comments

In the following example, I have 21 files that came from a raw partition that I split at 10GB intervals. I am piping that to parallel bzip2 (pbzip2) and writing it to a raw partition (logical volume). cat /mnt/DBADEV1/DBADEV1.disk.bz2.00 /mnt/DBADEV1/DBADEV1.disk.bz2.01 \ /mnt/DBADEV1/DBADEV1.disk.bz2.02 /mnt/DBADEV1/DBADEV1.disk.bz2.03 \ /mnt/DBADEV1/DBADEV1.disk.bz2.04 /mnt/DBADEV1/DBADEV1.disk.bz2.05 \ /mnt/DBADEV1/DBADEV1.disk.bz2.06 /mnt/DBADEV1/DBADEV1.disk.bz2.07 \ /mnt/DBADEV1/DBADEV1.disk.bz2.08 /mnt/DBADEV1/DBADEV1.disk.bz2.09 \ /mnt/DBADEV1/DBADEV1.disk.bz2.10 /mnt/DBADEV1/DBADEV1.disk.bz2.11 […]

Share Button

Splitting a GNU tar archive across multiple files

by Jason L Froebe on September 28, 2006, no comments

Create tar archive files of no larger than 31 GBytes: tar -cv -M -L 32505856 -f backup.tar ~jfroebe -c create tar archive -v verbose output -M enable multi-volume handling (multple tapes or files) -L size of file in kilobytes -f name of first tar archive file ~jfroebe directory that I wish to backup when 31 […]

Share Button
Facebook login by WP-FB-AutoConnect