[Confirmed] copy/move with "only files of this type&qu

Please report only one bug per message!

Moderators: Stefan2, white, sheep, Hacker

Post Reply
Anselm
Junior Member
Junior Member
Posts: 14
Joined: 2013-09-17, 17:06 UTC

[Confirmed] copy/move with "only files of this type&qu

Post by *Anselm » 2016-12-07, 18:10 UTC

Using Windows 7 and Total Commander 9.0 and 9.0a RC2.

(i only have the german.chm file at my system, hopefully i can make a good english report without the englisch one)

I vould like to copy/move dierctories with "only files of this type" and omitting empty directories (do not create empty directories)

I have a directory (d:\testsrc) with a directory tree of three directories and files of the type .doc .txt and .exe in it.

now i copy it to the empty d:\testdest which already exists and use
*.txt *.doc
as "only files of this type"

The result is as i expected. (all .txt and .doc files are copied some directories are empty, which does not have .txt or .doc files.

Now the same with move, the result is as i expected.

Now i try to omit the empty directories and do a copy:
*.txt *.doc|**\
(interesting i did not get it working with my real files). With my real files nothing is copied. It works only, if i define and save a selection "*.txt *.doc" with the name "text". And using
>text|**\
)

Now the reproducable error:
*.txt *.doc|**\
with move and get an error message:
Error cannot write d:\testdest\test1.doc
Please remove the write protection!

Anselm
Junior Member
Junior Member
Posts: 14
Joined: 2013-09-17, 17:06 UTC

Re: copy/move with "only files of this type"

Post by *Anselm » 2016-12-07, 18:31 UTC

Anselm wrote:
Now the reproducable error:
*.txt *.doc|**\
with move and get an error message:
Error cannot write d:\testdest\test1.doc
Please remove the write protection!
With different drive letter for source and destination it seems to work. Also if the files at the destination already exists (and overwrite)

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3144
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp » 2016-12-07, 18:44 UTC

Why do you reply to your own topic ?
Just edit it to ammend with more information.
Windows 10 Home x64 October 2018 Update, Version 1809 (OS Build 17763.194)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.21a x64 and x86, Everything 1.4.1.922 (x64)

Anselm
Junior Member
Junior Member
Posts: 14
Joined: 2013-09-17, 17:06 UTC

Post by *Anselm » 2016-12-07, 19:17 UTC

Horst.Epp wrote:Why do you reply to your own topic ?
Just edit it to ammend with more information.
I many boards you can not see what changed, if you edit your own post. If i edit my own post, i have to mark what i changed and i had to edit dates and times to make clear what i changed. It is much easier to reply to my own post, so anyone can see the history.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36557
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2016-12-07, 21:20 UTC

Indeed currently **\ is only supported when copying - it does work when moving between drives because this is essentially copy+delete. I will fix it.
Author of Total Commander
http://www.ghisler.com

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36557
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2016-12-11, 16:04 UTC

This should work now in RC3, please test it!
Author of Total Commander
http://www.ghisler.com

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36557
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2017-10-02, 08:54 UTC

Bump!
Author of Total Commander
http://www.ghisler.com

Post Reply