Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-01-2012, 01:06 AM   #1
LQ Newbie
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
Unhappy I needs to Zip the whole SVN Folder with a Password in LINUX


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
Old 03-01-2012, 03:55 AM   #2
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 762
Blog Entries: 3

Rep: Reputation: 246Reputation: 246Reputation: 246
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:
tar cvzf svnfolder.tar.gz svnfolder/
And then encrypt it with gpg:
gpg -c svnfolder.tar.gz
Type a password twice and svnfolder.tar.gz.gpg is your encrypted/password protected file.

When you want to decompress/decrypt it:
gpg -d svnfolder.tar.gz.gpg | tar -xzvf -
There are probably simpler ways to do this, but this is the method i am personally familiar with.
Old 03-01-2012, 04:47 AM   #3
Registered: Nov 2010
Location: Moradabad
Distribution: Redhat,Centos
Posts: 31

Rep: Reputation: 1


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

here you will have to provide password twice and then
it will compress as well as encrypt the your folder.


Old 03-01-2012, 05:29 AM   #4
Senior Member
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
As coralfang suggested it's best to try TAR/Gzip the files and protect it with some
crypt (mcrypt) tool.

good luck


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I zip the program folder and unzip it after reinstall Linux? Will the programwork casualzone Linux - Software 8 01-12-2010 08:26 AM
how to unzip a zip folder in redhat linux varunkant Linux - Newbie 5 08-07-2008 01:03 PM
[REQ] RAR/ZIP archiver for Linux with password protection? p3ppit Linux - Software 2 04-24-2007 01:07 PM
How do I extract password pretected .zip files in linux i_s Linux - General 2 03-25-2005 04:47 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration