Any chance of undo for a move command?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
kodepr
Junior Member
Junior Member
Posts: 47
Joined: 2019-09-05, 08:13 UTC

Any chance of undo for a move command?

Post by *kodepr »

Hi,

I need urgent help, please - I have been an idiot.
In a folder (let's say D:\parent folder\) I had a large number of folders with subfolders and files in them.
I wanted to move the complete contents (of D:\parent folder\) into a new subfolder (let's say D:\parent folder\newsubfolder\)
To do so, I selected everything in D:\parent folder\ and shift+dragged the selection to the breadcrumb bar above (same TC-pane).
In the move dialog box I should have changed the target frolder from

Code: Select all

D:\parent folder\*.*
to

Code: Select all

D:\parent folder\newsubfolder\*.*
but I must have made a typo, because all of the sudden I got an overwrite dialog, with options to choose from: overwrite (all), skip (all), cancel, rename, ...

I left the dialog box open for now (didn't choose an option yet) because I wanted to reach out for help here first:
  • Is there any way I can undo this move operation (note that it is currently "on hold" until a choose an option in the overwrite dialog box)?
  • I read the forum first and read something about a "File operation log file" in the options - unfortunately this is not activated ...
Any suggestions on how to proceed
  • what is the safest choice in the overwrite dialog box?
  • if no undo is available, how can I try and find out what my typo was and how can I the continue to try and undo everything manually?
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3896
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: Any chance of undo for a move command?

Post by *sqa_wizard »

At the overwrite dialog you will see both paths.
Isn't this clue enough to find out what the mistake was?
#5767 Personal license
kodepr
Junior Member
Junior Member
Posts: 47
Joined: 2019-09-05, 08:13 UTC

Re: Any chance of undo for a move command?

Post by *kodepr »

Looks like the content (subfolders and files) of every child folder that was originally in D:\parent folder\ was moved to D:\parent folder\newsubfolder\
So

Code: Select all

D:\parent folder\subfolderA\subfolderA1
D:\parent folder\subfolderA\subfolderA1\fileA1
D:\parent folder\subfolderA\subfolderA2
D:\parent folder\subfolderA\subfolderA2\fileA2
etc
was moved to

Code: Select all

D:\parent folder\newsubfolder\subfolderA1
D:\parent folder\newsubfolder\subfolderA1\fileA1
D:\parent folder\newsubfolder\subfolderA2
D:\parent folder\newsubfolder\subfolderA2\fileA2
Could that be the case if my typo in the move dialog was this

Code: Select all

D:\parent folder\newsubfolder*.*
instead of this?

Code: Select all

D:\parent folder\newsubfolder\*.*
Would a mistake like this be easy to undo in the future if "File operation log file" were activated from now on?
User avatar
petermad
Power Member
Power Member
Posts: 16098
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Any chance of undo for a move command?

Post by *petermad »

kodepr wrote: 2025-05-26, 20:43 UTC
Could that be the case if my typo in the move dialog was this

Code: Select all

D:\parent folder\newsubfolder*.*
instead of this?

Code: Select all

D:\parent folder\newsubfolder\*.*
Would a mistake like this be easy to undo in the future if "File operation log file" were activated from now on?

if you forget the backslast before *.* and there isn't already a folder named newsubfolder then selected files will all be renamed (moved) to a FILE with the name newsubfolder and the extension of the original file - if there were more original files with the same extension, then TC will ask to overwrite them one by one. But all the files that had different extensions will already be renamed to newfolder.ext and that can not be undone.

But since you write that your files were moved to D:\parent folder\newsubfolder the above does not seem to be the case.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply