Backup directory structure only using tar

tar cvf dirbackup.tar --no-recursion `find /path/to/backup -type d`

It won't work for directory names with space

tips/backup_directory_structure_only_using_tar.txt · Last modified: 2010-02-23 20:46 by admin
Back to top
GNU Free Documentation License 1.3
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0