Anyway to make TC not set the archive attrib when copying
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 22
- Joined: 2003-09-20, 04:30 UTC
Anyway to make TC not set the archive attrib when copying
I noticed this when I got a new hard drive and started moving stuff around. Everytime I copy or move a file TC resets the archive attribute which really screws up my backup system. Is there anyway to make it not do this? If not, I hope this is an option added to the next version.
The same at home
2Gooberslot
Hello !
- Right, I confirm. I tested copying 2 hidden files, the copies get "Archive+hidden" attributes.
- I don't know if this is a bug or by design…
- I didn't find out any instruction in <wincmd.ini> to change this behaviour. However, it's possible that some new ones be missing in the documents I've.
Kind regards,
Claude
Clo

- Right, I confirm. I tested copying 2 hidden files, the copies get "Archive+hidden" attributes.
- I don't know if this is a bug or by design…
- I didn't find out any instruction in <wincmd.ini> to change this behaviour. However, it's possible that some new ones be missing in the documents I've.

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Missing items
2Sheepdog
Hi Stefan !
¤ I had already :
SetArchiveBitOnRename=0
when testing; I verified, because it should act also for copies, but no…
- It seems that an instruction or internal commands are missing to get that Gooberslot needs…
- A (poor) workaround is to change the attributes as a single shot : select all >> Files menu >> Change the attributes
VG
Claude
Clo

¤ I had already :
SetArchiveBitOnRename=0
when testing; I verified, because it should act also for copies, but no…
- It seems that an instruction or internal commands are missing to get that Gooberslot needs…
- A (poor) workaround is to change the attributes as a single shot : select all >> Files menu >> Change the attributes


Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
So if needed I can adopt my batch for toggling the readonly bit. This one works with '%l' parameter in a button.
sheepdog
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
-
- Junior Member
- Posts: 22
- Joined: 2003-09-20, 04:30 UTC
Re: Missing items
That wouldn't work for me because I have mixed archive|no-archive files in the same dir.Clo wrote: - A (poor) workaround is to change the attributes as a single shot : select all >> Files menu >> Change the attributes![]()
I hope Christian is reading this thread because this is a feature I really need.
Re: Missing items
There's a workaround:Gooberslot wrote:That wouldn't work for me because I have mixed archive|no-archive files in the same dir.
Create a serch filter:
Code: Select all
Tab General:
Search for *.*
Tab Advanced:
date between: unset
Not older than= unset
file size= unset
Attributes= on
Archive= unset
(if desired )Directory=unset
all others: unchanged (grey set)
1. Go into the directory you want to copy.
2. Press [Ctrl]+ to dispaly all files, including them from subdirs
3. Pres [NUM+] and choose the ' arc_off' filter. Now all files that have the archive bit unset should be selected.
4. Press [Alt]+[m] and then [v] for saving this filelist and save it with appropriate name and path (so you will find it if needed

5. press [ctrl]+ get back to normal view.
6. copy your directory to the desired target.
7. change into the target dir, press [ctrl]+ for the branch view
8. Press [alt]+[m] and [l] for loading selection from file.
9. choose the previos saved file (arch_unset.sel)
10. Now all files with former unset archive bit are selected and you can
11. Press [Alt]+[f] and [c] to unset the archive bit in the selected files.
It sounds a bit complicated, but if you try it you will see thats usable. If you have to keep the archive bit more often you create buttons with commands cm_LoadSelectionFromFile/cm_SaveSelectionToFile. Unfortunately it seems you couldn't pass a file or path as parameter.
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams