need an advice on sophisticated cut/paste procedure

Operating System, Common Application & ThinkPad Utilities Questions...
Post Reply
Message
Author
Marin85
Senior ThinkPadder
Senior ThinkPadder
Posts: 2975
Joined: Sat May 12, 2007 10:54 am
Location: Munich, Germany

need an advice on sophisticated cut/paste procedure

#1 Post by Marin85 » Sat Dec 06, 2008 9:13 pm

So, here we go, folks: I have a folder which contains a few hundreds of subfolders and the contents of each subfolder is placed in a subfolder of that subfolder. I´d like to move the contents of each subfolder one level up, i.e. to get rid of all unnecessary sub-subfolders in such a way that the contents of each main subfolder still remains in it. The only problem is that I don´t really want to do it folder by folder for obvious reasons :) So, is there any other way to accomplish this cut/paste or any utility/known script out there that will do the job?

Thanks in advance

Marin

A side note: I have just downloaded a free fully functional trial of total commander, but it doesn´t seem capable of that either :?
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)

GomJabbar
Moderator
Moderator
Posts: 9765
Joined: Tue Jun 07, 2005 6:57 am

#2 Post by GomJabbar » Sat Dec 06, 2008 9:33 pm

I think I need a diagram. :?

* You know that you can press Ctrl + A to select all items in a folder...
* If you hold down the Ctrl key, you can then deselect (or select) items with a left-click...
* Click on Edit > Cut (Ctrl+X), then Edit > Paste (Ctrl+V) to move items...
* You can paste items to a temporary folder if folder nesting is a problem for the cut/paste operation...
DKB

aaa
ThinkPadder
ThinkPadder
Posts: 1062
Joined: Fri Jun 08, 2007 2:36 pm

#3 Post by aaa » Sat Dec 06, 2008 9:38 pm

I would write a script to do it... unfortunately I don't know of any ready-made ones. It would only be a few lines.

Marin85
Senior ThinkPadder
Senior ThinkPadder
Posts: 2975
Joined: Sat May 12, 2007 10:54 am
Location: Munich, Germany

#4 Post by Marin85 » Sat Dec 06, 2008 10:04 pm

Guys, thanks for your replies!
GomJabbar wrote:I think I need a diagram.:?
Here we go:

before: folder -> subfolder level 1 -> subfolder level 2 -> contents level 3

after: folder -> subfolder level 1 -> contents (moved from level 3 to level 2) and no more subfolders at level 2

The bad news is that the subfolders at level 1 are a few hundreds, the good news is that each one of them contains exactly one subfolder (level 2) (i.e. ratio 1:1). I was also thinking of the search trick where one searches for all file types in the contents and then cuts and pastes it in one folder right from the search window, but in this way I will loose the separation of the contents :?
aaa wrote:I would write a script to do it...
I was thinking of that too, but unfortunately I am script-illiterate :oops: I may well end up learning script language for windows, in a long term it might turn really useful...

Marin
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)

Marin85
Senior ThinkPadder
Senior ThinkPadder
Posts: 2975
Joined: Sat May 12, 2007 10:54 am
Location: Munich, Germany

#5 Post by Marin85 » Sat Dec 06, 2008 10:48 pm

...and I was wondering where this thread disappeared :D, but I don´t even have windows XP... Nevertheless, the topic is somewhat typical for the XP era and hence could find more answers in this subforum, so thanks a bunch for moving it here! :)
Update: I think I can try changing the names of all subfolders at level 2 to the names of the corresponding folders at level 1, then cut and copy them in the main folder and let them merge with their superfolders when prompted :idea: Fortunately, Vista explorer is unlogical enough to accept such an action :P Let´s see if this is doable without scripting.

Marin
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Windows OS (Versions prior to Windows 7)”

Who is online

Users browsing this forum: No registered users and 4 guests