Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Recurse set Archive flag for files touch directories too

 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) Printable version
View previous topic :: View next topic  
Author Message
sqa_wizard
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 2597
Location: Germany

PostPosted: Mon Mar 03, 2003 12:38 pm    Post subject: Recurse set Archive flag for files touch directories too Reply with quote

Hello all,

one of my tasks is to make a full backup of network user directories.
(several directories/subdirectories with more than 50.000 files).

Due to several network errors, the backup often aborts and results in an incomplete backup.

To overcome this failure there is a common procedure:
- mark all files with an archive flag
- perform an incremental backup, resetting the archive flag
- if backup fails, restart the incremental backup unless all archive flags are reset

Setting the archive flag is more than even DOS can do. (no need to say that explorer fails with even fewer files)

No problem for Total Commander Smile
Sitting on the User Directories I perform "Files / Change Attributes" checking the Archive flag and the "Recurse Subdirectories" option.

But TC does even more than he should do !

This procedure will set the Archive flag not only for all files, but also to all directories !

To overcome this odd behaviour I just found different methods to workaround:

1. ignore the Archive flag of directories at all

2. Use the Find Files dialog without entry, but cleared Directory attribute => results after a lot of time in a very huge list
-. Apply the Archive flag to listed files by Change Attributes

3. Apply the Archive flag to all files/directories by Change Attributes
-. Use the Find Files dialog without entry, but set Archive and Directory attribute => results after a lot of time in a tiny list
-. Clear the Archive flag to listed files by Change Attributes

Method 1 seems to be the quick and dirty solution Sad
Method 2 and 3 do the work, but still require multiple steps and, due to the huge amount of files, multiple amount of time and network load.

Any additional idea is welcome !

_________________
#5767 Personal license
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group