I needs to Zip the whole SVN Folder with a Password in LINUX
Hi,
I am really new to LINUX.Since,now we are using the LINUX Server for the SVN,and we needs to make a schedule at night to zip the whole svn folder,with a password. I am really,not sure,how to write this command in LINUX.First of all,is it i needs to have UBUNTU Software to run this in the terminal.? And how to write this command in LINUX,to zip the whole svn folder,with a password ? I badly needs your help,and I needs to do it by today night.I am stuck. Currently,I am running on windows XP. My mailling address is premila.devi@nexbis.com |
If you're using it for backups on the linux machine only, you might find it more suitable to use tar/gzip compression instead of zip. this is how i compress/encrypt files anyhow:
Compress the folder: Code:
tar cvzf svnfolder.tar.gz svnfolder/ Code:
gpg -c svnfolder.tar.gz When you want to decompress/decrypt it: Code:
gpg -d svnfolder.tar.gz.gpg | tar -xzvf - |
Hi,
as corl says it is good way to compress as well as encryption but there is another simple way is that if you really want make a zip with passwd then use command like # zip -er svnfolder.zip svnfolder here you will have to provide password twice and then it will compress as well as encrypt the your folder. Regards Singhjc |
As coralfang suggested it's best to try TAR/Gzip the files and protect it with some
crypt (mcrypt) tool. good luck |
All times are GMT -5. The time now is 07:12 AM. |