Showing posts with label tar. Show all posts
Showing posts with label tar. Show all posts

Archiving files in a directory - tar command

30.12.12
Below is the command for archiving all the files from the current directory.

find . -type f | xargs -d "\n" tar -czvf backup.tar.gz

the above command  also works for files with name containing spaces.
Read more ...