How do I undo a cut/paste of a huge number of files from library docs?

Lee85

New member
Local time
12:53 AM
Messages
2
So my mother came to me for assistance with her laptop running windows 7 home premium. Basically the lappie is on its last legs and she wanted me to get all her files off it and help organise them so we can dispose of the laptop and copy it to her new computer, which is already up and running.

Upon beginning the dire process of sorting through several years of utterly unorganised and incoherently-named files (literally about 4000 documents including powerpoint, pdf, docx, tif, jpg etc) I created a new folder, in which I was going to transfer everything to be kept and delete everything that would not be kept.

As we know, windows 7 included a little thing called the "Libraries - documents" folder. What I DIDN'T know was that this is actually (or at least now seems to be) a compilation of every single document on the computer. I discovered this after I had cut and paste every single file to be kept into a different folder. There were a few thou that were being disregarded, and it was easier for me to search by file type for the documents being kept and cut/paste them out, leaving the files to be deleted as residual, rather than going through and just deleting the files that we wanted removed. I sincerely regret that decision.

When I eventually jumped into the /user/documents folder, I discovered that many of the documents were actually well organised into individual folders, and that my actions had removed many thousands of documents into one single, unorganised file, and that is where I realised what I had done.

So now I am appealing to the elite on this forum to please tell me an easy way of moving all of those documents back into their original folders. I actually did manage to use Ctrl+z which from what I can see has moved a few hundred documents back into their original position, but there are about 4000 files and I am getting an error blip when trying to ctrl+z the rest, so I assume it is because of limitations in the short term undo-able memory that windows holds.

Please tell me there is a relatively easy way of undoing this.

Many, many thanks in advance.

Lee85
 

My Computer My Computer

At a glance

Windows 7
Computer type
PC/Desktop
OS
Windows 7
Hmmm.......

There may be a way to directly do what you want--return files to original location. I don't use libraries, so I can't help with such an idea.

Actually, I think this command using xxcopy:

Xxcopy source destination /srr

can rebuild sub-directory structures if you've previously copied a bunch of files to a single directory--as you've done. But since you didn't use xxcopy to make the copy, I don't think you can use it to "undo". And it seems you did a cut rather than a copy.

But a few things you might want to clarify:

1: I assume nothing is outright lost? You've got all the files, you just don't know their original directories?

2: Are all of the files in question her personal files--as opposed to Windows files, application files, or anything presumably needed for the laptop to function correctly?

3: You say the files are "utterly unorganized" and "incoherently-named". Is there no hope of getting her better organized? I'm wondering if you could not create a new more organized directory structure on the new laptop and copy these unorganized files to the new directory structure, batch by batch, if necessary. Possibly "all PDFs", "all images", "all Word files", etc, if nothing else? You could do something like that from the command line.
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1, 64-bitIntel Skylake i5-6600K, not overclocked8 GB HyperX DDR4-2666 (2 x 4 GB)none; graphics are integrated on CPU
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Ignatz Special; 4 speed manual gearbox; factory air conditioning; one of one
OS
Windows 7 Home Premium SP1, 64-bit
CPU
Intel Skylake i5-6600K, not overclocked
Motherboard
AsRock Z170M Extreme 4, micro ATX
Memory
8 GB HyperX DDR4-2666 (2 x 4 GB)
Graphics Card(s)
none; graphics are integrated on CPU
Sound Card
onboard: Realtek ALC1150; external: USB Behringer UF0-202
Monitor(s) Displays
Dell S2340M 23 inch IPS
Screen Resolution
1600 x 900
Hard Drives
System: Crucial MX100 series SSD, 128 GB;
Data: Samsung Spinpoint 103SJ, 1 TB;
Backup: WD Caviar Green WD30EZRX-00D8PB0, 3 TB
PSU
Rosewill SilentNight 500 watt fanless, semi-modular
Case
Antec Solo II
Cooling
Noctua NH-U12S; Noctua F12 intake, Noctua S12A exhaust
Keyboard
Microsoft 200 6JH-00001 USB
Mouse
Dell or Microsoft optical wired; USB
Antivirus
Microsoft Security Essentials and Malwarebytes Premium
Browser
Pale Moon
Other Info
All fans PWM; speeds at idle: CPU circa 500 rpm; intake circa 600 rpm; exhaust circa 600 rpm; CPU temps 27 idle and 47 C load in a warm room (27 C/81 F) when running Intel Extreme Tuning Utility stress test.
Hmmm.......

There may be a way to directly do what you want--return files to original location. I don't use libraries, so I can't help with such an idea.

Actually, I think this command using xxcopy:

Xxcopy source destination /srr

can rebuild sub-directory structures if you've previously copied a bunch of files to a single directory--as you've done. But since you didn't use xxcopy to make the copy, I don't think you can use it to "undo". And it seems you did a cut rather than a copy.

But a few things you might want to clarify:

1: I assume nothing is outright lost? You've got all the files, you just don't know their original directories?

2: Are all of the files in question her personal files--as opposed to Windows files, application files, or anything presumably needed for the laptop to function correctly?

3: You say the files are "utterly unorganized" and "incoherently-named". Is there no hope of getting her better organized? I'm wondering if you could not create a new more organized directory structure on the new laptop and copy these unorganized files to the new directory structure, batch by batch, if necessary. Possibly "all PDFs", "all images", "all Word files", etc, if nothing else? You could do something like that from the command line.

Hi, cheers for the reply. In response to your questions, yes I did use a cut/paste, not a copy.

1. Nothing is lost at all; the files are there but I don't have or know the original directories.

2. Yes, all personal files.

3. The reason for the post is because I don't want to now have to go through every single document - when I said they were unorganised, that was my impression because I was looking at the files in the Libraries file, thinking they were all placed into one big folder without labels which is what caused the problem in the first place. They were actually organised, and I have undone that, hence needing assistance.

Appreciate the help but doesn't sound like the fix I need. I pretty much just need to undo the entire cut/paste event to place them back where they came from.

There must be a way - can anybody else assist?

Many thanks in advance for any help - it will literally save me days of going through files and cutting/pasting about 4 thousand documents into their original folders, assuming I even know which ones they are.
 
Last edited:

My Computer My Computer

At a glance

Windows 7
Computer type
PC/Desktop
OS
Windows 7
Any chance that there was a backup done shortly before you started?Art.
 

My Computer My Computer

At a glance

Win7 sp1 Pro 64bit / XP sp2 Pro (games only)Intel Core 2 Duo E8400 @ 3.00GHz8.00 GB Dual-Channel DDR2 @ 400MHz (5-5-5-18)1024MB GeForce GTX 560
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Win7 sp1 Pro 64bit / XP sp2 Pro (games only)
CPU
Intel Core 2 Duo E8400 @ 3.00GHz
Motherboard
Intel Corporation DP35DP (CPU1)
Memory
8.00 GB Dual-Channel DDR2 @ 400MHz (5-5-5-18)
Graphics Card(s)
1024MB GeForce GTX 560
Sound Card
NVIDIA High Definition Audio
Monitor(s) Displays
SyncMaster (2048x1152@60Hz)
Hard Drives
240GB Sandisc Extreme Pro SSD
244GB Seagate ST3250410AS
488GB Seagate ST500DM002-1BD142
931GB Western Digital WDC WD1003FZEX
PSU
Corsair 720
Case
ATX
Keyboard
HID Keyboard Device Logitech
Mouse
HID-compliant mouse Microsoft
Other Info
TSSTcorp CDDVDW SH-S223L

HL-DT-ST BD-RE BH12LS35
If you Delete/Move/Rename files in Windows Explorer, you can use "Ctrl + Z" to undo those actions.

You should have been able to do a "Ctrl + Z" directly after the action. :cry:
 

My Computer My Computer

At a glance

W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, ...AMD Phenom II x6 1100T, 3.3 GHz12GB DDR3 1333 G-Skill (4GB x 2), G-Skill (2G...NVIDIA GeForce GTX 660
Computer type
PC/Desktop
Computer Manufacturer/Model Number
n/a
OS
W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
CPU
AMD Phenom II x6 1100T, 3.3 GHz
Motherboard
ASUS M4A88T-M/USB3 (AM3)
Memory
12GB DDR3 1333 G-Skill (4GB x 2), G-Skill (2GB x 2)
Graphics Card(s)
NVIDIA GeForce GTX 660
Sound Card
Realtek?
Monitor(s) Displays
Samsung S23B350
Screen Resolution
1920x1080
Hard Drives
WD Green 2TB (SATA), WD Green 3TB (SATA), WD Blue 4TB (SATA), WD Blue 6TB (SATA)
PSU
Cooler Master
Case
Antec GX300 Tower
Cooling
3x Antec TRICOOL 120mm Fans
Mouse
Wired Optical
Internet Speed
DSL
Antivirus
Avast
Browser
Pale Moon (64 bit)
Other Info
2018-12-27 Upgraded HDDs
2015-12-10 Upgraded case, graphics card, storage
2015-08-15 Upgraded motherboard & RAM
2015-07-15 Upgraded LM17.1 to LM17.2

My Computer My Computer

At a glance

Vista, Windows7, Mint Mate, Zorin, Windows 8from 1.6GHz Duo to i7
Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
Back
Top