Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| generic_linux_commands [2023/01/18 13:36] – [UNTAR SINGLE FILE/DIRECTORY] admin | generic_linux_commands [2023/03/27 22:48] (current) – [TAR WITH EXCLUDE] admin | ||
|---|---|---|---|
| Line 65: | Line 65: | ||
| ===== TAR WITH EXCLUDE ===== | ===== TAR WITH EXCLUDE ===== | ||
| < | < | ||
| + | cd / | ||
| + | tar --exclude=' | ||
| + | rsync -av *.tgz / | ||
| + | |||
| $ tar cvzf filename.tar.gz /dir1/dir2 --exclude "/ | $ tar cvzf filename.tar.gz /dir1/dir2 --exclude "/ | ||
| </ | </ | ||
| Line 130: | Line 134: | ||
| + | ===== Source ===== | ||
| + | commands.txt on Seagate 3TB (H: | ||