Zipping a folder with a password in the command line.
sudo zip -er fileoutput.zip folderinput
The Breakdown:
sudo - just in case you are not the owner
zip - the command (the program)
- (arguments)
e - prompt for password
r - recursive into directory
fileoutput.zip - the password protected output
folderinput - the folder your are compressing
The Breakdown:
sudo - just in case you are not the owner
zip - the command (the program)
- (arguments)
e - prompt for password
r - recursive into directory
fileoutput.zip - the password protected output
folderinput - the folder your are compressing
Comments
Post a Comment