TAR
GNU 'tar' saves many files together into a single tape or disk archive, and can restore individual files from the archive.
Overview
| Command | Description |
|---|---|
tar -czf backup_$(date + %F_%H-%M-%S).tar.gz <dir1> <dir2> |
Create <backup_file> with dir1 and dir2 as content |
| - | - |
tar -tzf <file> |
Show directories from proton |
| - | - |
tar -xzf <file> -C <dir to restore> |
Extract content from <file> into <dir to restore> |
