Ignore Hidden Files When Compressing
A free file archiver for extremely high compression
Brought to you by:
ipavlov
When archiving directories that are under source control, I often want to exclude the source control directories before sending the source to someone.
At the moment I have two methods to do this
1) Copy the directory somewhere else and use Windows Explorer to find the CVS or SVN directories, delete everything that comes up in the search results, compress the folder with 7zip then delete the copied directory.
2) Use the command line to exclude files like Entries, Entries.Old, CVS, SVN etc
Since it can be done via the command line, would it not be possible to have an option in the GUI that says "Exclude Hidden Files" or "Exclude source control directories" or something?
The command line parameter to do this is:
cd "C:\Program Files\7-Zip"
7z a -tzip c:\Temp\myFile.zip C:\Temp\Software\source\*.* -r -x!*.class -x!Entries -x!Entries.Old -x!Entries.Extra.Old -x!Entries.Extra -x!Repository -x!Root -x!Tag -x!.svn
Same problem here. Would be nice to be able to enter the -x!.svn in the GUI. Moreover imo 7z should use the explorer setting for including hidden or system files in the archive.
This would be helpful. Love using Explorer to create a quick zip, but don't want the entire .git repo.