1753295 Members
6719 Online
108792 Solutions
New Discussion

Re: The tar utility

 
SOLVED
Go to solution
Dennis Handly
Acclaimed Contributor

Re: The tar utility

># tar -cvf data-.tar /data
I don't know why, maybe I got misunderstand of syntax

Those were meta chars indicating that you figure out how you want the date. Either manually, or by V. Nyga's variable or you can use $() directly:
tar -cvf data-$(date +%Y%m%d).tar /data

>I didn't run your command coz my files don't have size more than 8Gb.

There is no need to wait. You can stop using tar now and switch to pax. They are compatible until you use "-x pax".
rustam_2
Super Advisor

Re: The tar utility

Thanks a lot, V and Dennis, and other who gave me advice,suggestions and examples.
I could solve and learn how to work with tar utility.

regards,
Rustam