Compressing files with filter?
Moderators: Hacker, petermad, Stefan2, white
Compressing files with filter?
hi all,
i'd like to know if it is possible to use filters for compressing files.
i need to compress a folder (including subdirectories) but leaving out all hidden files...
is that possible with TC?
thanks a lot,
Daniel
i'd like to know if it is possible to use filters for compressing files.
i need to compress a folder (including subdirectories) but leaving out all hidden files...
is that possible with TC?
thanks a lot,
Daniel
- Wilhelm M.
- Power Member
- Posts: 1050
- Joined: 2003-06-05, 10:45 UTC
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
that only works for the root folder. hidden files in sub folders are still included.The only way I know of is to disable the viewing of hidden files first (via configuration/options/display) and then compress the folder.
can you be more specific on that?Do a search with the appropriate filters, "feed to listbox", select all, compress.
i tried several combinations and it didn't work...
thanks,
Daniel
Lets say you have c:\a\... an you want to compress everything inside.drgoldie wrote:can you be more specific on that?
i tried several combinations and it didn't work...
1. Go to that directory
2. Alt-F7
3. Tab: Advanced-> Attributes, uncheck Hidden
4. Start Search
5. Button Feed to Listbox
6. Gray + (seelct all files)
7. Alt-F5
8. Enter
done

thanks.
that's exactly what i tried and what did not work.
the problem more complex: i want to compress project folders which are controled with subversion. subversion creates hidden folders which contain non hidden files. what i want is to not include the hidden folders although there are non-hidden files in there...
thanks,
Daniel
that's exactly what i tried and what did not work.
the problem more complex: i want to compress project folders which are controled with subversion. subversion creates hidden folders which contain non hidden files. what i want is to not include the hidden folders although there are non-hidden files in there...
thanks,
Daniel
yes, there are more subfolders and files in these hidden directories which are not hidden themselfs.
what i'd like to have is this:
all the content inside a hidden folder (including the folder itself) should not be added to the archive.
Assume we have this subfolder arrangement:
|- FolderA
|- FolderB
|- FolderHidden
| |-FolderX
| |-FolderY
| |-FileX
| |-FileY
|- FileA
|- FileB
In this structure i assume that FolderHidden has the hidden attribute set. Everything else does not have this attribute set.
So what i want is that FolderA, FolderB, FileA & FileB are compressed.
FolderHidden, FolderX, FolderY, FileX & FileY should not be compressed.
I know that this is quite a special requirement...
thx,
Daniel
what i'd like to have is this:
all the content inside a hidden folder (including the folder itself) should not be added to the archive.
Assume we have this subfolder arrangement:
|- FolderA
|- FolderB
|- FolderHidden
| |-FolderX
| |-FolderY
| |-FileX
| |-FileY
|- FileA
|- FileB
In this structure i assume that FolderHidden has the hidden attribute set. Everything else does not have this attribute set.
So what i want is that FolderA, FolderB, FileA & FileB are compressed.
FolderHidden, FolderX, FolderY, FileX & FileY should not be compressed.
I know that this is quite a special requirement...
thx,
Daniel
Maybe this will solve your problem:
1st: switch hidden file view off
menu Configuration - Options - Display - show hidden/system files: unchecked
or use internal command cm_SwitchHidSys
2nd: use branch view (CTRL+B) (or search & "Feed to listbox")
3rd: mark all files (CTRL+A)
4th: pack all selected files (ALT+F5)
1st: switch hidden file view off
menu Configuration - Options - Display - show hidden/system files: unchecked
or use internal command cm_SwitchHidSys
2nd: use branch view (CTRL+B) (or search & "Feed to listbox")
3rd: mark all files (CTRL+A)
4th: pack all selected files (ALT+F5)
The doorstep to the temple of wisdom is a knowledge of our own ignorance. Benjamin Franklin