encryption and zip Flashcards
1
Q
how to compress a bunch of directories and files with encryption with the zip programme?
A
zip -re package_name.zip directory_path… file…
2
Q
extract all files into a exdir
A
unzip package_name -d directory_path
3
Q
create an encrypted DMG image of a folder
A
hdiutil create -srcfolder [source folder path] -encryption AES-128 [filename.dmg]
4
Q
compress and archive a bunch of directories and files
A
tar -zcvf package_name.tgz directry_path files
5
Q
extract an tgz to current folder
A
tar -xvf package_name
6
Q
Unrar: extract files without archive path
A
unrar e foo.rar
7
Q
Unrar: extract files with full archive path
A
unrar x foo.rar