Tape archive is another utility that I use frequently. I used it to archive files and directories. It is really handy when you want to ftp a group of files or directories.
1. tar cvfp /home/directory/filename.tar directoryname
e.g. #tar cvfp /home/esofthub/esofthub.tar esofthub
tar – Tape archive utility
cvfp – Create, verbose, file, preserves permissions -- flags/options.
/home/esofthub/esofthub.tar – A tarball file
esofthub – The esofthub directory and its contents
/dev/rmt/0 – Here’s how you archive to a tape device.
No comments:
Post a Comment