1. Select a few subdirectories, call File — Create Checksum File(s).
2. Turn on the option "Create separate checksum files for each directory" (the destination field will change the name into a * mask).
3. Change the destination path to some other directory but keep the mask, like C:\Temp\*.sha1; press OK.
4. The checksum files are created in the selected subdirectories themselves; whatever path you entered is completely ignored.
If you use "separate checksums for each file", the destination path works correctly (only the files are not put into subdirs, but that's probably intentional); so with the "directories" option I'd expect it to work too.
Tested in 9.50a rc1 x32 and x64, Win7.
Create separate checksum files for directories - target path ignored
Moderators: white, Hacker, petermad, Stefan2
Create separate checksum files for directories - target path ignored
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 10.52 / Win10 x64
Using TC 10.52 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Create separate checksum files for directories - target path ignored
This is by design. When creating checksums by directory, they will be placed in these directories.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Create separate checksum files for directories - target path ignored
But why is that so different from the option "for each file"? I'm not sure that is a good idea. What about read-only locations, like system-protected paths which require elevated Admin for writing, or read-only network shares?
Anyway, if that's by design, it definitely should be explained in the help.
Anyway, if that's by design, it definitely should be explained in the help.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 10.52 / Win10 x64
Using TC 10.52 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Create separate checksum files for directories - target path ignored
With the option "for each file", all checksum files just go to the indicated target directory with the names of the files (no directory hierarchy). This is also rather useless because the checksum files don't contain absolute paths.But why is that so different from the option "for each file"?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Create separate checksum files for directories - target path ignored
That's not true. Well, not always true. If you leave the target path unchanged, the checksum files will be created in the subdirectories.ghisler(Author) wrote: ↑2020-02-17, 16:29 UTC With the option "for each file", all checksum files just go to the indicated target directory with the names of the files (no directory hierarchy).
Example: Suppose in C:\Temp\ we have the following structure:
Code: Select all
|-dir1\
| |-file1.txt
| |-file2.txt
|-file3.txt
|-file4.txt
The result will be:
Code: Select all
|-dir1\
| |-file1.sha
| |-file1.txt
| |-file2.sha
| |-file2.txt
|-file3.sha
|-file3.txt
|-file4.sha
|-file4.txt
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 10.52 / Win10 x64
Using TC 10.52 / Win10 x64