Compressing files with filter?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
drgoldie
Junior Member
Junior Member
Posts: 5
Joined: 2005-03-10, 11:59 UTC

Compressing files with filter?

Post by *drgoldie »

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
User avatar
Wilhelm M.
Power Member
Power Member
Posts: 1050
Joined: 2003-06-05, 10:45 UTC

Post by *Wilhelm M. »

The only way I know of is to disable the viewing of hidden files first (via configuration/options/display) and then compress the folder.
Grüße/Regards,
Wilhelm
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

2drgoldie
Do a search with the appropriate filters, "feed to listbox", select all, compress.
I switched to Linux, bye and thanks for all the fish!
drgoldie
Junior Member
Junior Member
Posts: 5
Joined: 2005-03-10, 11:59 UTC

Post by *drgoldie »

The only way I know of is to disable the viewing of hidden files first (via configuration/options/display) and then compress the folder.
that only works for the root folder. hidden files in sub folders are still included.
Do a search with the appropriate filters, "feed to listbox", select all, compress.
can you be more specific on that?
i tried several combinations and it didn't work...

thanks,
Daniel
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Post by *ado »

drgoldie wrote:can you be more specific on that?
i tried several combinations and it didn't work...
Lets say you have c:\a\... an you want to compress everything inside.
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 :-)
drgoldie
Junior Member
Junior Member
Posts: 5
Joined: 2005-03-10, 11:59 UTC

Post by *drgoldie »

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
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Post by *ado »

ok, does that hidden directory contain subdirs or just files?
drgoldie
Junior Member
Junior Member
Posts: 5
Joined: 2005-03-10, 11:59 UTC

Post by *drgoldie »

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
User avatar
nevidimka
Senior Member
Senior Member
Posts: 385
Joined: 2004-06-20, 21:38 UTC

Post by *nevidimka »

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)
The doorstep to the temple of wisdom is a knowledge of our own ignorance. Benjamin Franklin
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Post by *ado »

wow, it looks it works :shock:
drgoldie
Junior Member
Junior Member
Posts: 5
Joined: 2005-03-10, 11:59 UTC

Post by *drgoldie »

yes! great!

thanks a lot.
i knew (well hoped) that there is some clever way to do this...

again thanks!

Daniel
Post Reply