Skip to main content

VMFnet Knowledge Base

  • About
  • Contents
  • Frequently used

Create archive excluding elements

2 Mar 20232 Mar 2023 Damien Bash, Frequently used, Linux
tar --exclude='file1.txt' --exclude='folder1' -pvczf backup.tar.gz ./

Post navigation

Empty log files
Cleanup old kernels

By subject…

  • Bash (9)
  • Firefox (1)
  • Frequently used (8)
  • Linux (21)
    • Debian (3)
    • Enterprise Linux (3)
    • Raspbian / Raspberry Pi OS (5)
  • Macintosh (19)
    • 10.11 El Capitan (4)
    • 10.13 High Sierra (7)
    • 10.14 Mojave (8)
    • 10.15 Catalina (9)
    • 10.6 Snow Leopard (3)
    • 11 Big Sur (2)
    • 12 Monterey (2)
    • 13 Ventura (1)
    • 14 Sonoma (2)
    • 15 Sequoia (3)
    • 26 Tahoe (2)
  • Miscellaneous (6)
  • Networking (5)
  • Virtual Environment (5)
  • Windows (3)
    • Windows 10 (1)
    • Windows 11 (3)
  • Zsh (1)
© 2020 VMFnet.be | Theme by Colorlib Powered by WordPress