Copy files and folders one level up

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Flanders
Junior Member
Junior Member
Posts: 2
Joined: 2021-04-13, 12:51 UTC

Copy files and folders one level up

Post by *Flanders »

Hi,

Sorry for the noob question but here goes:

I have been testing my project on a web server inside a folder named 'testing'. Now I want to copy files and folders from the testing folder one level up into the root. I'm having trouble working out this seemingly simple process.

I guess I could copy (download) to my local machine and then upload to the desired folder but this seems counter-intuitive and inefficient.

Any help greatly appreciated.
User avatar
Stefan2
Power Member
Power Member
Posts: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Copy files and folders one level up

Post by *Stefan2 »

Use F5 or F6 and enter an relative path, for your issue utilize the DOS shortcut '..' for parent directory.

Or just cut all out, go one up and paste it in.




 
User avatar
Wilhelm M.
Power Member
Power Member
Posts: 990
Joined: 2003-06-05, 10:45 UTC

Re: Copy files and folders one level up

Post by *Wilhelm M. »

Just a variation of Stefan2's proposal: open the directory in both panels, then go one level up in the right panel, change to the left panel and select all files. Then press F6. Done.
Grüße/Regards,
Wilhelm
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: Copy files and folders one level up

Post by *sqa_wizard »

I successfully use the Multi-Rename-Tool on local files and files on remote locations like network, FTP, SFTP:

Just select all file you want to move.
Start the MRT and enter at Rename mask:
- for Windows: ..\[N]
- for Linux: ../[N]

This will just use rename to move directly on the remote server without down-/upload to local.
Note: It works with moving to an existing folder too.
Given:
a/b/c/myfile.txt and myfile.txt selected
a/b/c/d/
e.g.
d/[N] => moves myfile.txt from folder "c" up to "d"

Note: You may refresh the file list manually to see the result!
#5767 Personal license
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Copy files and folders one level up

Post by *petermad »

2Flanders

If you open an FTP-connection on both sides, you might have to check the box "Copy via local PC (slow)" in the copy dialog if your FTP server does not support direct copying between two connections.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Flanders
Junior Member
Junior Member
Posts: 2
Joined: 2021-04-13, 12:51 UTC

Re: Copy files and folders one level up

Post by *Flanders »

Hi all, apologies for the late response. I shall try your suggestions and thank you for your help.
Post Reply