2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-15 06:12:59 +00:00
cheat.sheets/sheets/dar

23 lines
487 B
Plaintext
Raw Normal View History

2019-03-07 07:34:31 +00:00
# dar
# (disk archive), command-line archiving tool intended as a replacement for tar
# Create an archive of everything below source_dir
dar -R source_dir -c archive
# Extract an entire archive to a destination
dar -x archive dest_dir
# List the files in an archive
dar -l archive
# Extract a specific file from an archive into the
# current directory
dar -x archive -g file
# multiple files
dar -x archive -g file1 -g file2 -g file3
# For troubleshooting:
# --dry-run
# --verbose