Copy files and folders one level up

English support forum

Moderators: white, sheep, Hacker, 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: 3201
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: 840
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: 3654
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: 10438
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, 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 10.00 b8 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (20H2) 64bit, 'Everything' 1.4.1.1005
TC 3.21b2 on Android 6 & 11
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