copy dozen thousands small files
Moderators: Hacker, petermad, Stefan2, white
copy dozen thousands small files
Good afternoon, when I copy many of small files, the speed decrease significantly, it lasts hours. I know that can experimet in Options with buffers tec. but it will be comfortable that TC before starting copying recognize this situation and internally autoselect best copy method (much quickier is for example firstly make *.rar of whole direcotry with many files with "only store" option, than copy this *.rar to target disk and then unrar this archive on target drive - this process would be automatically happen on the fly in the ram or swap disk driven by TC itself.
- ghisler(Author)
- Site Admin
- Posts: 50923
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The creation of small files is quite slow, not only because there are additional write and seek operations needed for each file, but also because each file is scanned by a virus scanner. Therefore creating a single ZIP file on the flash disk is much faster.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
re
although I had turn off virus scanner writing files check the copy speed was extremely slow anyway ... for example my full installation directory of \cygwin has 23387 subdirectories and 391373 files ...
what I want to TC would be able (or via plugin), when I run Copy C:\cygwin -> to E:\cygwin (usb 2.0 external hdd 2TB), the TC (or plugin) automatically on the background would do
0) recognize number of files in the directory \cygwin for copying, if number of files is > XY -> then
1) C:\cygwin -> C:\cygwin.rar (store)
2) move cygwin.rar -> E:
3 unrar E:\cygwin.rar to E:\cygwin
4) remove E:\cygwin.rar
5) done
what I want to TC would be able (or via plugin), when I run Copy C:\cygwin -> to E:\cygwin (usb 2.0 external hdd 2TB), the TC (or plugin) automatically on the background would do
0) recognize number of files in the directory \cygwin for copying, if number of files is > XY -> then
1) C:\cygwin -> C:\cygwin.rar (store)
2) move cygwin.rar -> E:
3 unrar E:\cygwin.rar to E:\cygwin
4) remove E:\cygwin.rar
5) done