-Copying dir with subdir on ignorelist does not copy it

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
yurik
Junior Member
Junior Member
Posts: 4
Joined: 2007-01-24, 19:10 UTC

-Copying dir with subdir on ignorelist does not copy it

Post by *yurik »

Very unintuitive behavior: Copying a directory (F5) that contains a subdirectory whos name appears on the ignore list will not be copied. This could result in major problems that are unnoticed at first - someone doing a backup of a GIT repo, only to find out that just the latest working files have been copied because .git is on the ignorelist.

I think there should be either an extra checkbox "don't copy ignored files", or it should not skip ignored files at all. Ignored is mostly for searching and viewing.
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Ignore means ignore in any way:
Help wrote:Ignore specific files/folders: They will be neither displayed nor copied.
Just create a button:

Code: Select all

TOTALCMD#BAR#DATA
cm_SwitchIgnoreList

WCMICONS.dll,81


0
2922
and use it if you think that you want to ignore or not ignore certain files or directories.

Regards
Holger
yurik
Junior Member
Junior Member
Posts: 4
Joined: 2007-01-24, 19:10 UTC

Post by *yurik »

I understand that this is how it has been implemented and documented - my point is that ignore is mostly useful in searching and viewing, but counterproductive and possibly data-loosing when copying a parent dir - I don't know if a dir has some ignored folder deep down - copying or archiving something only later to discover that it contained valuable files that got silently ignored could be a nasty surprise.

Look at explorer - hidden directories are hidden for viewing and searching, but they still get copied as part of the parent. I think this operation is somewhat dangerous.
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Okay, you confirm it is not a bug.

Your expectations (and understanding of the meaning of ignore) may differ from what is implemented with "Ignore list" but this is not a bug of TC.
This seems to be a feature which is not meant for you.

Maybe other methods are more convenient for your work flow:
As in Explorer you can use the hidden attribute to hide files and folders in TC.
You can even use a custom filter like "*.*|*.bak" to hide file types or directories ("|bin\") inside the current panel.

BTW: I'm using the ignore list for folder and files I don't want to see, search, or even copy (like backups without bin\, obj\ -folders or bak-files).
And I do not expect that elements from the ignore list are not ignored.

Regards
Holger
Post Reply