2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-19 03:25:44 +00:00
cheat.sheets/sheets/dar
2019-03-07 08:34:31 +01:00

23 lines
487 B
Plaintext

# 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