tar¶
Remove all files previously extracted from a tar(.gz) file.¶
Remove all files previously extracted from a tar(.gz) file.¶
Encrypt directory with GnuPG and tar¶
netcat - send tar archive remotely (sending side)¶
Tar - Compress by excluding folders¶
Create a tar archive using 7z compression¶
Move files around local filesystem with tar without wasting space using an intermediate tarball.¶
tar the current directory wihtout the absolute path¶
Encrypted Tarballs¶
Copy files from one dir to another using tar.¶
Create a tar file compressed with xz.¶
restore .tar.gz on the fly¶
Compressed Backup of the /etc¶
backup file with tar¶
Unpack .tgz File On Linux¶
Remove all files previously extracted from a tar(.gz) file.¶
create tar.gz archive¶
Real full backup copy of /etc folder¶
Bulk copy large blocks of data between File Systems (run as root iff you do not own all of the files!)¶
tar - extract only one file¶
checksum a directory / files¶
Move files around local filesystem with tar without wasting space using an intermediate tarball.¶
backup and remove files with access time older than 5 days.¶
tar -zcvpf backup_`date +"%Y%m%d_%H%M%S"`.tar.gz `find <target> -atime +5 -type f` 2> /dev/null | parallel -X rm -f
Tar Pipe¶
backup the old files¶
Move files around local filesystem with tar without wasting space using an intermediate tarball.¶
Unzip multi-part zip archive¶
Tar a subversion working copy...without all those hidden directories!¶
Create a tar.gz in a single command¶
create one md5 for all files in folder¶
ls -lR with a full path¶
Copy specific files to another machine, keeping the file hierarchy¶
backup and remove files with access time older than 5 days.¶
tar -zcvpf backup_`date +"%Y%m%d_%H%M%S"`.tar.gz `find <target> -atime +5` 2> /dev/null | xargs rm -fr ;
Exclude .svn, .git and other VCS junk for a pristine tarball¶
Pack up some files into a tarball on a remote server without writing to the local filesystem¶
backup a directory in a timestamped tar.gz¶
Encrypted archive with openssl and tar¶
copy working directory and compress it on-the-fly while showing progress¶
Encrypted archive with openssl and tar¶
Create a tar of directory structure only¶
tar exclude files or directories¶
throttle bandwidth with cstream¶
Command line progress bar¶
Tar - Compress by excluding folders¶
untar undo¶
Compare an archive with filesystem¶
Send a backup job to a remote tape drive on another machine over SSH¶
Archive a directory with datestamp on filename¶
Create a tar file with the current date in the name.¶
tar.gz with gpg-encryption on the fly¶
tar -cvz /<path>/ | gpg encrypt recipient <keyID> > /<backup-path>/backup_`date +%d_%m_%Y`.tar.gz.gpg
mail with attachment¶
oneliner to transfer a directory using ssh and tar¶
Get a range of SVN revisions from svn diff and tar gz them¶
tar cvfz changes.tar.gz exclude-vcs `svn diff -rM:N summarize . | grep . | awk '{print $2}' | grep -E -v '^\.$'`
Split a tarball into multiple parts¶
send a file or directory via ssh compressing with lzma for low trafic¶
Simple complete system backup excluding files or directories¶
Update a tarball¶
Clean up after a poorly-formed tar file¶
Adhoc tar backup¶
tar -cvzf - /source/path | ssh <targethostname> -l <username> dd of=/destination/path/backupfile.tgz
strip non-constant number of directories from tar archive while decompressing¶
copy paste multiple binary files¶
Tar files matching a certain wildcard¶
Extract tar.gz file with original permission¶
Creat a tar file for backup info¶
tar create file /path/$HOSTNAME-my_name_file-$(date -I).tar.gz atime-preserve -p -P same-owner -z /path/
create tar archive of files in a directory and its sub-directories¶
tar copy¶
Unpack .tgz File On Linux¶
Copy via tar pipe while preserving file permissions (run this command as root!)¶
Backup trought SSH¶
tar+pbzip2 a dir¶
Extract .tar.lzma archive¶
Extract multiple tar files at once in zsh¶
tar directory and compress it with showing progress and Disk IO limits¶
tar pcf - home | pv -s $(du -sb home | awk '{print $1}') rate-limit 500k | gzip > /mnt/c/home.tar.gz
Create a tar file with the current date in the name.¶
Remote backups with tar over ssh¶
tar a directory and send it to netcat¶
Create a tar archive using xz compression¶
scping files with streamlines compression (tar gzip)¶
Extract tar content without leading parent directory¶
tar+pbzip2 a dir¶
Compress a file or directory keeping the owner and permissions¶
Create a tar archive using xz compression¶
Compress files in a directory¶
Create tar over SSH¶
tar via network¶
Full remote server backup over cstream using tar (excluding unnecessary files) (reports every 10 seconds)¶
tar -cj / -X /tmp/exclude.txt | cstream -v 1 -c 3 -T 10 | ssh user@host 'tar -xj -C /backupDestination'
Archive and compress a directory using gunzip compression¶
encrypt, split and get ready for dvd a large file via tar and ccrypt¶
Redirect tar extract to another directory¶
oneliner to transfer a directory using ssh and tar¶
unpack tar.bz2¶
pack with tar tar.gz¶
move a lot of files over ssh¶
Backup to tape, rewind and check md5¶
tar -cvf - $DIR_TO_BACKUP | tee >(md5sum > backup_md5.txt) > /dev/st0 && mt -f /dev/nst0 bsfm 1 && md5sum -c backup_md5.txt < /dev/st0
Tar all files in a folder including hidden dot files¶
Shows the largest files in your archives¶
Create a Multi-Part Archive Without Proprietary Junkware¶
backup your file with tar and exclude the file or directory which you don't want¶
Secure copy from one server to another without rsync and preserve users, etc¶
lists contents of a tar file¶
Clone perms and owner group from one file to another¶
tar's and moves all contents of current directory to target dir¶
Create a tar archive with all files of a certain type found in present dir and subdirs¶
Untar file in current directory¶
backup home dir exclude dot files¶
Tar a directory excluding CVS, SVN, GIT and similar directories¶
Tar a directory and its sub-directory¶
have tar decide compression based on filename¶
Tar dir excluding tmp¶
Create a simple backup¶
Backup hidden files and folders in home directory¶
create compressed encrypted backup¶
Create tarball of files modified in git¶
create tar.gz on solaris¶
Remove all files previously extracted from a tar(.gz) file.¶
Create a tar archive using 7z compression¶
Copy specific files to another machine, keeping the file hierarchy¶
backup and remove files with access time older than 5 days.¶
tar -zcvpf backup_`date +"%Y%m%d_%H%M%S"`.tar.gz `find <target> -atime +5` 2> /dev/null | xargs rm -fr ;
Exclude .svn, .git and other VCS junk for a pristine tarball¶
Pack up some files into a tarball on a remote server without writing to the local filesystem¶
backup a directory in a timestamped tar.gz¶
Encrypted archive with openssl and tar¶
copy working directory and compress it on-the-fly while showing progress¶
Encrypted archive with openssl and tar¶
Create a tar of directory structure only¶
tar exclude files or directories¶
throttle bandwidth with cstream¶
Command line progress bar¶
Tar - Compress by excluding folders¶
untar undo¶
Compare an archive with filesystem¶
Send a backup job to a remote tape drive on another machine over SSH¶
Archive a directory with datestamp on filename¶
Create a tar file with the current date in the name.¶
tar.gz with gpg-encryption on the fly¶
tar -cvz /<path>/ | gpg encrypt recipient <keyID> > /<backup-path>/backup_`date +%d_%m_%Y`.tar.gz.gpg
mail with attachment¶
oneliner to transfer a directory using ssh and tar¶
Get a range of SVN revisions from svn diff and tar gz them¶
tar cvfz changes.tar.gz exclude-vcs `svn diff -rM:N summarize . | grep . | awk '{print $2}' | grep -E -v '^\.$'`
Split a tarball into multiple parts¶
send a file or directory via ssh compressing with lzma for low trafic¶
Simple complete system backup excluding files or directories¶
Update a tarball¶
Clean up after a poorly-formed tar file¶
Adhoc tar backup¶
tar -cvzf - /source/path | ssh <targethostname> -l <username> dd of=/destination/path/backupfile.tgz
strip non-constant number of directories from tar archive while decompressing¶
copy paste multiple binary files¶
Tar files matching a certain wildcard¶
Extract tar.gz file with original permission¶
Creat a tar file for backup info¶
tar create file /path/$HOSTNAME-my_name_file-$(date -I).tar.gz atime-preserve -p -P same-owner -z /path/
create tar archive of files in a directory and its sub-directories¶
tar copy¶
Unpack .tgz File On Linux¶
Copy via tar pipe while preserving file permissions (run this command as root!)¶
Backup trought SSH¶
tar+pbzip2 a dir¶
Extract .tar.lzma archive¶
Extract multiple tar files at once in zsh¶
tar directory and compress it with showing progress and Disk IO limits¶
tar pcf - home | pv -s $(du -sb home | awk '{print $1}') rate-limit 500k | gzip > /mnt/c/home.tar.gz
Create a tar file with the current date in the name.¶
Remote backups with tar over ssh¶
tar a directory and send it to netcat¶
Create a tar archive using xz compression¶
scping files with streamlines compression (tar gzip)¶
Extract tar content without leading parent directory¶
tar+pbzip2 a dir¶
Compress a file or directory keeping the owner and permissions¶
Create a tar archive using xz compression¶
Compress files in a directory¶
Create tar over SSH¶
tar via network¶
Full remote server backup over cstream using tar (excluding unnecessary files) (reports every 10 seconds)¶
tar -cj / -X /tmp/exclude.txt | cstream -v 1 -c 3 -T 10 | ssh user@host 'tar -xj -C /backupDestination'
Archive and compress a directory using gunzip compression¶
encrypt, split and get ready for dvd a large file via tar and ccrypt¶
Redirect tar extract to another directory¶
oneliner to transfer a directory using ssh and tar¶
unpack tar.bz2¶
pack with tar tar.gz¶
move a lot of files over ssh¶
Backup to tape, rewind and check md5¶
tar -cvf - $DIR_TO_BACKUP | tee >(md5sum > backup_md5.txt) > /dev/st0 && mt -f /dev/nst0 bsfm 1 && md5sum -c backup_md5.txt < /dev/st0
Tar all files in a folder including hidden dot files¶
Shows the largest files in your archives¶
Create a Multi-Part Archive Without Proprietary Junkware¶
backup your file with tar and exclude the file or directory which you don't want¶
Secure copy from one server to another without rsync and preserve users, etc¶
lists contents of a tar file¶
Clone perms and owner group from one file to another¶
tar's and moves all contents of current directory to target dir¶
Create a tar archive with all files of a certain type found in present dir and subdirs¶
Untar file in current directory¶
backup home dir exclude dot files¶
Tar a directory excluding CVS, SVN, GIT and similar directories¶
Tar a directory and its sub-directory¶
have tar decide compression based on filename¶
Last update: August 10, 2022
Created: August 10, 2022
Created: August 10, 2022