![]() |
tar command help
How would I do this using the tar command. I need to backup a directory or folder on my server using tar and I can't remember the command.
Say I'm in the folder movies on my server and inside movies I have the folder called one. From movies what would the command be to create a compressed file one.tar for example |
tar -cf target.tar directory
|
tar -cf one.tar one
to extract: tar -xf one.tar one |
Quote:
tar -zcf one.tar.gz one to extract tar -zxvf one.tar.gz |
rm -r dir
:Graucho |
Quote:
|
All times are GMT -7. The time now is 03:38 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123