Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




3.8.3. Step-by-Step Usage Instructions

By following these instructions you are going to compress and encrypt your "Documents" directory. Your original "Documents" directory will remain unaltered. This technique can be applied to any directory or file you have access to on the filesystem.
  • Open a Terminal:Click ''Applications'' -> ''System Tools'' -> ''Terminal''
  • Compress and Encrypt: (enter a password when prompted) 7za a -mhe=on -ms=on -p Documents.7z Documents/
The "Documents" directory is now compressed and encrypted. The following instructions will move the encrypted archive somewhere new and then extract it.
  • Create a new directory: mkdir newplace
  • Move the encrypted file: mv Documents.7z newplace
  • Go to the new directory: cd newplace
  • Extract the file: (enter the password when prompted) 7za x Documents.7z
The archive is now extracted into the new location. The following instructions will clean up all the prior steps and restore your computer to its previous state.
  • Go up a directory: cd ..
  • Delete the test archive and test extraction: rm -r newplace
  • Close the Terminal: exit

  Published under the terms of the Open Publication License Design by Interspire