Copy folder, skip existing files: size is not updated, slow copy
Moderators: Hacker, petermad, Stefan2, white
Copy folder, skip existing files: size is not updated, slow copy
Copy folder, skip existing files:
1. size is not updated
- if it shows only copied files then the ratio copied/total as well as lower progress bar is incorrect
- file names is not synchronous with files count (when the file names changes, file count is not changed)
- when the files are "copied" (1) (skipping existing files) (without counting count/size), after that the new (non-existing in the target folder) files are copied (2), and after that the same (already existing files) are "copied" (skipped) second time with counting of size (3)
- at the stage (1), Cancel doesn't show a confirmation dialog
- on the normal copy, Cancel alternately shows the old dialog with the red cross (Interrupted by user), with two buttons, and new dialog with three buttons, with different sounds
2. slow copy
- when another file manager skips 1000's of existing files per second, total commander skips 10's files per second
1. size is not updated
- if it shows only copied files then the ratio copied/total as well as lower progress bar is incorrect
- file names is not synchronous with files count (when the file names changes, file count is not changed)
- when the files are "copied" (1) (skipping existing files) (without counting count/size), after that the new (non-existing in the target folder) files are copied (2), and after that the same (already existing files) are "copied" (skipped) second time with counting of size (3)
- at the stage (1), Cancel doesn't show a confirmation dialog
- on the normal copy, Cancel alternately shows the old dialog with the red cross (Interrupted by user), with two buttons, and new dialog with three buttons, with different sounds
2. slow copy
- when another file manager skips 1000's of existing files per second, total commander skips 10's files per second
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Copy folder, skip existing files: size is not updated, slow copy
1. Sorry, I don't understand what you mean
2. I cannot reproduce that. Maybe a virus scanner problem?
2. I cannot reproduce that. Maybe a virus scanner problem?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Copy folder, skip existing files: size is not updated, slow copy
why?
* copy folder with 10000's of files
* stop in the half
* copy in same location, skip existing files
* files in "from:/to:" changed, file count and size is not updated
* sometimes file count is updated, size is not updated
https://www.youtube.com/watch?v=gXwpwalHeDQ
* pressing Cancel does not give confirmation on this step
why the other file manager is not affected by antivirus?
* copy folder with 10000's of files
* stop in the half
* copy in same location, skip existing files
* files in "from:/to:" changed, file count and size is not updated
* sometimes file count is updated, size is not updated
https://www.youtube.com/watch?v=gXwpwalHeDQ
* pressing Cancel does not give confirmation on this step
why the other file manager is not affected by antivirus?
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Copy folder, skip existing files: size is not updated, slow copy
Total Commander tries to skip all files where there is a collision and only ask the user at the end.
When you copy executable files like EXE/DLL, and use the option to only copy newer (skip older), then TC compares the version info of the file and not just the time stamp. This takes longer because each file needs to be opened to read the version info. When I copy e.g. JPG files, I can skip 10'000 files in a fraction of a second (just tested).why the other file manager is not affected by antivirus?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Copy folder, skip existing files: size is not updated, slow copy
It scans all files, not just exe, and with "skip all" option (not "skip older")
put several files in folder
the 1,2 are safe, the 3 is malicious exe
rename exe to zip
copy all files to second folder so that both folders are identical
turn antivirus on
select copy from first folder to second
it asks you to skip on first (safe) file
select "skip all"
on third (malicious) file will be antivirus warning
so it tried to open it instead of skip
Fast skipping is because of the cache
It is necessary to clear the cache
Folder without exe, dll (70k files, 9k folders) skips with 2:28; with double commander it's 35 sec (antivirus is enabled)
The progress bar is not updated at all
I never noticed that it is asking at the end. Rather, at the beginning.
put several files in folder
the 1,2 are safe, the 3 is malicious exe
rename exe to zip
copy all files to second folder so that both folders are identical
turn antivirus on
select copy from first folder to second
it asks you to skip on first (safe) file
select "skip all"
on third (malicious) file will be antivirus warning
so it tried to open it instead of skip
Fast skipping is because of the cache
It is necessary to clear the cache
Folder without exe, dll (70k files, 9k folders) skips with 2:28; with double commander it's 35 sec (antivirus is enabled)
The progress bar is not updated at all
I never noticed that it is asking at the end. Rather, at the beginning.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Copy folder, skip existing files: size is not updated, slow copy
It depends on whether there is a collision within the first 10 seconds or not. If not, TC assumes that the user may no longer be there and delays the questions to the end.I never noticed that it is asking at the end. Rather, at the beginning.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Copy folder, skip existing files: size is not updated, slow copy
Moderator message
Moved to "will not be changed"
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Copy folder, skip existing files: size is not updated, slow copy
why? have you checked my tests? with opening Every file, even if skip all?
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Copy folder, skip existing files: size is not updated, slow copy
Sorry, I cannot fix something I can't reproduce.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Copy folder, skip existing files: size is not updated, slow copy
you don't seen the video, don't enable antivirus, and don't tried to copy renamed infected file, which should be just skipped but it gives alert of AV and can't copied, which proves that every file is opened, even if it should be skipped, and it slows down the process?
and it's "fast" (in your case) because of cache
and it's "fast" (in your case) because of cache