OH NO!!!! I accidentally deleted a file by cut + pasting :(

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

OH NO!!!! I accidentally deleted a file by cut + pasting :(

Post by Luke »

I just went into an application I was working on... then I selected a folder, then I cut it and then went to paste that folder into another directory and it said "the source file does not exist". So I go back and sure enough, the file I cut is not there... nor is it in my clipboard apparently. What in the world could have happened to it?? Is there any chance of retrieving it?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

The Ninja Space Goat wrote:Is there any chance of retrieving it?
probably depends on your os and file system.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Yea, I've come to the conclusion that I'm screwed. Luckily the files I accidentally deleted weren't all that time-consuming. Just brain-damage to create. Oh well... I'll suck it up and recreate them. :( Thanks anyway.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

That's what Ctrl+Z is for. It can undo cutting (Too late, now).
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

That's the first thing I did... it didn't work. It may have been too late. Does that work after you've already changed directories? I know I did it because I always do that when I changed my mind about pasting.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Probably not. I always have multiple instances of Windows Explorer open when I do copying and pasting.
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

Windows Explorer is the interface you work on right from Desktop to each file dialog etc... so wherever you do cut or copy or rename or move... all is reversible from any location... and Cut *does not*
- remove the file from its current location
- place it into clipboard (just the link)
until you paste it somewhere... and a cut can be canceled simply by Esc.. that's what this key is for on keyboard isn't it?


Only bug I've found is while moving file around in a network...
I've lost files like that.. but while working in Macromedia products...
Open a file from Network and next time you save it.. its corrupted and you can't save the open file *anywhere*... its foobared...
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Ah, yes it was over a network. I feel your pain with the macromedia products. I've lost countless amounts of data because of dreamweave (which I no longer use).
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

Bingo!
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Dreamweaver used to do all kinds of strange things to my file system, and stop me from opening certain files until I restarted my computer. Oh, the frustration. :P
Post Reply