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…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

extract all files into a exdir

A

unzip package_name -d directory_path

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

create an encrypted DMG image of a folder

A

hdiutil create -srcfolder [source folder path] -encryption AES-128 [filename.dmg]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

compress and archive a bunch of directories and files

A

tar -zcvf package_name.tgz directry_path files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

extract an tgz to current folder

A

tar -xvf package_name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Unrar: extract files without archive path

A

unrar e foo.rar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Unrar: extract files with full archive path

A

unrar x foo.rar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly