Enable/Disable Hidden/System files from "Synchronize Di

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
rolfschroedter
Junior Member
Junior Member
Posts: 4
Joined: 2009-11-11, 14:34 UTC

Enable/Disable Hidden/System files from "Synchronize Di

Post by *rolfschroedter »

I'm often using "Synchronize Dirs" and I like it very much.
However, when working with Revision Control Systems like CVS or SVN, there is a problem:
I'm getting tons of different files from the (hidden) .CVS or .SVN directories, which obviously should never been touched by directory synchronization.
I have to manually remove them all.

Therefore I would very much appreciate a check button in the "Synchronize Dirs" dialog to enable/disable scanning of hidden/sys files/dirs.

Many thanks and regards,
Rolf Schroedter.
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

Hi and welcome!

You can enter this into the file mask:

Code: Select all

|.svn\ .cvs\
this should exclude the contents of those directories from synchronization. You can also press F1 in the synch tool for more information.
rolfschroedter
Junior Member
Junior Member
Posts: 4
Joined: 2009-11-11, 14:34 UTC

Post by *rolfschroedter »

Thanks a lot, this helps solve this issue.
I've tried |.svn and .svn\*.* before, but I didn't come to |.svn\

Nevertheless IMHO it would be good to have a checkbutton for hidden/sys files for Synchronzing. I'm arguing from the user point of view, who disabled the general "Display hidden/sys" file option. When comparing directories he will see different hidden files like "Thumbs.db", which are otherwise not visible in the file panel.

The default hidden/sys setting in the "Synchronize" panel could be taken from the general Display configuration.
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Alternative solution: Ignorelist

Regards
Holger
rolfschroedter
Junior Member
Junior Member
Posts: 4
Joined: 2009-11-11, 14:34 UTC

Post by *rolfschroedter »

Hmmm, as I see the ignore-list generally excludes those files from all operations. That's bad, for copying a project status (including .svn files), I'm doing this quite frequently.
If I go with ignore-lists I would have to toggle the ignore-flag all the time.
That means:
Change global Config options ignore-flag / Copy files
Change global Config options ignore-flag / Compare directories

Okay, this works, but is not convenient and quite error-prone...

Thanks and regards,
Rolf.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

rolfschroedter, you may use cm_SwitchIgnoreList command to enable/disable ignore list if you need to copy hidden files. :wink: Just add it to menu or button bar.
And, if you specify folders in Sync exclude dialog, you may save sync preset and use button to load it with command SYNCOPEN <saved_preset_name>.
rolfschroedter
Junior Member
Junior Member
Posts: 4
Joined: 2009-11-11, 14:34 UTC

Post by *rolfschroedter »

Thanks a lot, that's cool :D
Post Reply