Page 1 of 1

Enable/Disable Hidden/System files from "Synchronize Di

Posted: 2009-11-11, 14:46 UTC
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.

Posted: 2009-11-11, 16:49 UTC
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.

Posted: 2009-11-12, 07:51 UTC
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.

Posted: 2009-11-12, 20:26 UTC
by HolgerK
Alternative solution: Ignorelist

Regards
Holger

Posted: 2009-11-13, 07:10 UTC
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.

Posted: 2009-11-13, 08:53 UTC
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>.

Posted: 2009-11-13, 09:29 UTC
by rolfschroedter
Thanks a lot, that's cool :D