Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| generic_linux_commands [2023/03/27 22:47] – [TAR WITH EXCLUDE] admin | generic_linux_commands [2023/03/27 22:48] (current) – [TAR WITH EXCLUDE] admin | ||
|---|---|---|---|
| Line 67: | Line 67: | ||
| cd / | cd / | ||
| tar --exclude=' | tar --exclude=' | ||
| + | rsync -av *.tgz / | ||
| + | |||
| $ tar cvzf filename.tar.gz /dir1/dir2 --exclude "/ | $ tar cvzf filename.tar.gz /dir1/dir2 --exclude "/ | ||
| </ | </ | ||