About Auto-rename option
Moderators: Hacker, petermad, Stefan2, white
About Auto-rename option
Hello!
I like the TC6.x new copy option "Auto-rename" but I'd like also a sub-option like the following:
"Auto-rename only if the files have a different date, otherwise skip"
The sub-option could be inserted in a new section (ex: Auto-rename options) in Configuration > Copy/Delete
(or in wincmd.ini file only).
My goal:
In a slow LAN, from a folder on a client, I want to copy to a folder on a server only the completely new files and the updated (edited, modified) files.
I want to keep (auto-renaming them) the old versions on the server. (*)
Can anyone suggest me a way to do it with TC6.01?
totfun
(*) I don't want to overwrite anything on the server. I want to achieve it using TC autorename feature but I don't want useless, copy-time and space wasting, duplicate files on the server. (At least in my case).
I like the TC6.x new copy option "Auto-rename" but I'd like also a sub-option like the following:
"Auto-rename only if the files have a different date, otherwise skip"
The sub-option could be inserted in a new section (ex: Auto-rename options) in Configuration > Copy/Delete
(or in wincmd.ini file only).
My goal:
In a slow LAN, from a folder on a client, I want to copy to a folder on a server only the completely new files and the updated (edited, modified) files.
I want to keep (auto-renaming them) the old versions on the server. (*)
Can anyone suggest me a way to do it with TC6.01?
totfun
(*) I don't want to overwrite anything on the server. I want to achieve it using TC autorename feature but I don't want useless, copy-time and space wasting, duplicate files on the server. (At least in my case).
Last edited by totfun on 2003-12-19, 10:37 UTC, edited 2 times in total.
Hello Coco!
Thank you for your suggestion!
If it is suitable, how to proceed?
(I don't know Shift+F2 feature in depth and excuse me if I ask you instead of reading better the TC help...)
totfun
Thank you for your suggestion!
The problem is that the folder contains (many) subfolders. Is it your suggestion suitable also in this scenario, without doing a "folder by folder" operation?1) Compare Directories (Shift + F2)
2) Copy the different files with the autorename.
If it is suitable, how to proceed?
(I don't know Shift+F2 feature in depth and excuse me if I ask you instead of reading better the TC help...)
totfun
Totfun,
actually I use ARJ.exe for this purpose. Activated with a button in the menu bar.
This is the content of the .bat file to make an archive:
rem a1 = any files & directories
rem r = terukeren naar directory
rem jf1 = gebruik volledige path zonder drive
rem b1 = backup changed, reset archiefbit
rem p1 = match pathname with subdirs
rem m4 = fastest compressie
rem i2 = % en graph
rem jm1 = max compressie
rem va = mutiple disks
arj a x:\afbthuis.arj j:\00afbeeldingen -a1 -r -jf1 -b1 -p1 -m4 -i2 -jm1
the functions behind rem are the explnations
The last row is the command function to start arj
x:\ = the target drive
afbthuis.arj is the name of the new file to be created
j:\ is the source drive
00afbeeldingen is the source directory.
All new files, changed files in all (sub)dirs are catched and packed
The arj file must be unpacked at the second computer. Again with a button in the menu bar. Only the new or changed files will be overwriten.
the (2nd) batch file:
rem r = keer terug naar subdirectory
rem u = update new en newer
rem y = veronderstel YES op vragen
rem b3 = reset archiefbit na restore (dus geen archieveringscode !)
rem p1 = match pathname met subdirs
rem jf1 = gebruik volledige pathnaam
rem i2 = % en graph
arj x h:\afbthuis.arj c:\ -r -u -y -b3 -i2
where c:\ is the target drive.
To delete the .arj file from the source disk:
arj d h:\afbthuisl.arj *.*
Be shure the batch files and the ARJ (32 bits) program are in the same dir.
Download arj.exe from the internet.
Try it and you wil love it with just 1 click in Total Commander!
gr. mario
actually I use ARJ.exe for this purpose. Activated with a button in the menu bar.
This is the content of the .bat file to make an archive:
rem a1 = any files & directories
rem r = terukeren naar directory
rem jf1 = gebruik volledige path zonder drive
rem b1 = backup changed, reset archiefbit
rem p1 = match pathname with subdirs
rem m4 = fastest compressie
rem i2 = % en graph
rem jm1 = max compressie
rem va = mutiple disks
arj a x:\afbthuis.arj j:\00afbeeldingen -a1 -r -jf1 -b1 -p1 -m4 -i2 -jm1
the functions behind rem are the explnations
The last row is the command function to start arj
x:\ = the target drive
afbthuis.arj is the name of the new file to be created
j:\ is the source drive
00afbeeldingen is the source directory.
All new files, changed files in all (sub)dirs are catched and packed
The arj file must be unpacked at the second computer. Again with a button in the menu bar. Only the new or changed files will be overwriten.
the (2nd) batch file:
rem r = keer terug naar subdirectory
rem u = update new en newer
rem y = veronderstel YES op vragen
rem b3 = reset archiefbit na restore (dus geen archieveringscode !)
rem p1 = match pathname met subdirs
rem jf1 = gebruik volledige pathnaam
rem i2 = % en graph
arj x h:\afbthuis.arj c:\ -r -u -y -b3 -i2
where c:\ is the target drive.
To delete the .arj file from the source disk:
arj d h:\afbthuisl.arj *.*
Be shure the batch files and the ARJ (32 bits) program are in the same dir.
Download arj.exe from the internet.
Try it and you wil love it with just 1 click in Total Commander!
gr. mario
Hello ovm,
Thank you for you suggestion!
I don't know if I'm missing something reading your post or you missed something reading mine
You write:
totfun
Thank you for you suggestion!
I don't know if I'm missing something reading your post or you missed something reading mine
You write:
I wrote:Only the new or changed files will be overwriten.
2CocoI want to keep (auto-renaming them) the old versions on the server.
...and even if it worked, we lose folder structure when we copy.I would have suggest via the CTRL+B but the compare directory does not seems to work correctly in this mode ...
totfun
I think I understand what you mean, but i'm not shure.totfun wrote:I wrote:I want to keep (auto-renaming them) the old versions on the server.
I think I am in the same situation and solved it with this:
1) all people in a group can change a file on a network drive.
Daily I make a backup with the procedure as mentioned in prior post
So the changed and/or new files are stored at my home computer
2) I make a backup of my home files with the same procedure
So alle new files (including from work) are packed
3) at work I unpack these files in a private directory
So finaly:
the original files are on the network drive
the same original files are on my home computer
the same original files are on my computer at work
When the files are new or changed I automaticaly take them home, and return them to a specified dir at work.
So I have a backup at my home place and after return to office, the same backup at the office.
Is this what you mean?
gr. mario
I did not propose you this because indeed the autorename is not present in this function. Otherwise it would have been perfect for you need...totfun wrote:I have tried cm_FileSync, too.
Cm_FileSync could be suitable for the subdirectories but unfortunately it seems that in no pass of that way I can choose autorename copy option. Did you try it, too?
Alain
2 OvM
I think that it is not exactly what I mean. Anyway I'll test your solution to better see. It can be an interesting solution for other similar situations, too.
2Coco
I think that it is not exactly what I mean. Anyway I'll test your solution to better see. It can be an interesting solution for other similar situations, too.
2Coco
BTW: Do you know why the 2 auto-rename options are selectable only at beginning of a copy operation and not as a choice for the user when TC asks the user? Too many buttons or other reasons?I did not propose you this because indeed the autorename is not present in this function. Otherwise it would have been perfect for you need...
Hi totfun,
Because when you don't choose it at beginning it mean you are in "manual" mode you can rename each file it finds as already existing. (But only the files you are currently copying not the already existing file)
ps: I hope you will understand, because I can't find a good sentence in english....I'm too tired.
Because when you don't choose it at beginning it mean you are in "manual" mode you can rename each file it finds as already existing. (But only the files you are currently copying not the already existing file)
ps: I hope you will understand, because I can't find a good sentence in english....I'm too tired.

Alain