Running a mv command on large amount of data caused disappearance of other folders [closed]
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
2
down vote
favorite
I messed up by running a mv command on the entire contents of an old external drive to my Desktop without making a destination folder first.
I ran
sudo mv /my/external/path/* /home/myself/Desktop/
when instead I should have made a directory on Desktop first.
I wasn't thinking, and my Desktop was filling up behind my full screen terminal while I walked away unbeknownst to me. I had 3 important folders on it (School, Dev Projects, and CODE), all of them with many subdirectories. Well, they're gone, and I cannot find them.
To compound the situation, I didn't realize that my computer didn't have enough space to complete the job, so not everything was copied.
If I did not manually delete these folders, where could they have gone? I checked /home/myself/.local/share/Trash/files and found nothing.
I ran
grep -nr "Some_Folder_or_File_Names"
on the newer external I copied to, and found nothing.
If these folders are lost, I just lost over a year of development projects and school material.
Thanks.
data-recovery grep mv
closed as off-topic by steeldriver, John1024, David Foerster, Fabby, karel May 27 at 9:06
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This describes a problem that can't be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." â steeldriver, John1024, David Foerster, Fabby, karel
add a comment |Â
up vote
2
down vote
favorite
I messed up by running a mv command on the entire contents of an old external drive to my Desktop without making a destination folder first.
I ran
sudo mv /my/external/path/* /home/myself/Desktop/
when instead I should have made a directory on Desktop first.
I wasn't thinking, and my Desktop was filling up behind my full screen terminal while I walked away unbeknownst to me. I had 3 important folders on it (School, Dev Projects, and CODE), all of them with many subdirectories. Well, they're gone, and I cannot find them.
To compound the situation, I didn't realize that my computer didn't have enough space to complete the job, so not everything was copied.
If I did not manually delete these folders, where could they have gone? I checked /home/myself/.local/share/Trash/files and found nothing.
I ran
grep -nr "Some_Folder_or_File_Names"
on the newer external I copied to, and found nothing.
If these folders are lost, I just lost over a year of development projects and school material.
Thanks.
data-recovery grep mv
closed as off-topic by steeldriver, John1024, David Foerster, Fabby, karel May 27 at 9:06
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This describes a problem that can't be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." â steeldriver, John1024, David Foerster, Fabby, karel
1
Look in the/home/myself/Desktop
-folder.
â mook765
May 26 at 16:59
Yourgrep
searches the textSome_Folder_or_File_Names
whithin the files. It doesn't match filenames. Tryfind . -name "*Some_Folder_or_File_Names*"
instead.
â PerlDuck
May 26 at 17:00
Did that too after posting this. Nothing. Even did ls -a.
â IRGeekSauce
May 26 at 17:00
Ok tried the "find" command. Nothing.
â IRGeekSauce
May 26 at 17:03
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I messed up by running a mv command on the entire contents of an old external drive to my Desktop without making a destination folder first.
I ran
sudo mv /my/external/path/* /home/myself/Desktop/
when instead I should have made a directory on Desktop first.
I wasn't thinking, and my Desktop was filling up behind my full screen terminal while I walked away unbeknownst to me. I had 3 important folders on it (School, Dev Projects, and CODE), all of them with many subdirectories. Well, they're gone, and I cannot find them.
To compound the situation, I didn't realize that my computer didn't have enough space to complete the job, so not everything was copied.
If I did not manually delete these folders, where could they have gone? I checked /home/myself/.local/share/Trash/files and found nothing.
I ran
grep -nr "Some_Folder_or_File_Names"
on the newer external I copied to, and found nothing.
If these folders are lost, I just lost over a year of development projects and school material.
Thanks.
data-recovery grep mv
I messed up by running a mv command on the entire contents of an old external drive to my Desktop without making a destination folder first.
I ran
sudo mv /my/external/path/* /home/myself/Desktop/
when instead I should have made a directory on Desktop first.
I wasn't thinking, and my Desktop was filling up behind my full screen terminal while I walked away unbeknownst to me. I had 3 important folders on it (School, Dev Projects, and CODE), all of them with many subdirectories. Well, they're gone, and I cannot find them.
To compound the situation, I didn't realize that my computer didn't have enough space to complete the job, so not everything was copied.
If I did not manually delete these folders, where could they have gone? I checked /home/myself/.local/share/Trash/files and found nothing.
I ran
grep -nr "Some_Folder_or_File_Names"
on the newer external I copied to, and found nothing.
If these folders are lost, I just lost over a year of development projects and school material.
Thanks.
data-recovery grep mv
asked May 26 at 16:52
![](https://i.stack.imgur.com/hUg2f.jpg?s=32&g=1)
![](https://i.stack.imgur.com/hUg2f.jpg?s=32&g=1)
IRGeekSauce
1541110
1541110
closed as off-topic by steeldriver, John1024, David Foerster, Fabby, karel May 27 at 9:06
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This describes a problem that can't be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." â steeldriver, John1024, David Foerster, Fabby, karel
closed as off-topic by steeldriver, John1024, David Foerster, Fabby, karel May 27 at 9:06
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This describes a problem that can't be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." â steeldriver, John1024, David Foerster, Fabby, karel
1
Look in the/home/myself/Desktop
-folder.
â mook765
May 26 at 16:59
Yourgrep
searches the textSome_Folder_or_File_Names
whithin the files. It doesn't match filenames. Tryfind . -name "*Some_Folder_or_File_Names*"
instead.
â PerlDuck
May 26 at 17:00
Did that too after posting this. Nothing. Even did ls -a.
â IRGeekSauce
May 26 at 17:00
Ok tried the "find" command. Nothing.
â IRGeekSauce
May 26 at 17:03
add a comment |Â
1
Look in the/home/myself/Desktop
-folder.
â mook765
May 26 at 16:59
Yourgrep
searches the textSome_Folder_or_File_Names
whithin the files. It doesn't match filenames. Tryfind . -name "*Some_Folder_or_File_Names*"
instead.
â PerlDuck
May 26 at 17:00
Did that too after posting this. Nothing. Even did ls -a.
â IRGeekSauce
May 26 at 17:00
Ok tried the "find" command. Nothing.
â IRGeekSauce
May 26 at 17:03
1
1
Look in the
/home/myself/Desktop
-folder.â mook765
May 26 at 16:59
Look in the
/home/myself/Desktop
-folder.â mook765
May 26 at 16:59
Your
grep
searches the text Some_Folder_or_File_Names
whithin the files. It doesn't match filenames. Try find . -name "*Some_Folder_or_File_Names*"
instead.â PerlDuck
May 26 at 17:00
Your
grep
searches the text Some_Folder_or_File_Names
whithin the files. It doesn't match filenames. Try find . -name "*Some_Folder_or_File_Names*"
instead.â PerlDuck
May 26 at 17:00
Did that too after posting this. Nothing. Even did ls -a.
â IRGeekSauce
May 26 at 17:00
Did that too after posting this. Nothing. Even did ls -a.
â IRGeekSauce
May 26 at 17:00
Ok tried the "find" command. Nothing.
â IRGeekSauce
May 26 at 17:03
Ok tried the "find" command. Nothing.
â IRGeekSauce
May 26 at 17:03
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
I rebooted and voila!
That was weird. O.o
Warning: Self-answer! Do not close answer! VTC Q instead!
â Fabby
May 26 at 19:31
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I rebooted and voila!
That was weird. O.o
Warning: Self-answer! Do not close answer! VTC Q instead!
â Fabby
May 26 at 19:31
add a comment |Â
up vote
0
down vote
I rebooted and voila!
That was weird. O.o
Warning: Self-answer! Do not close answer! VTC Q instead!
â Fabby
May 26 at 19:31
add a comment |Â
up vote
0
down vote
up vote
0
down vote
I rebooted and voila!
That was weird. O.o
I rebooted and voila!
That was weird. O.o
answered May 26 at 17:08
![](https://i.stack.imgur.com/hUg2f.jpg?s=32&g=1)
![](https://i.stack.imgur.com/hUg2f.jpg?s=32&g=1)
IRGeekSauce
1541110
1541110
Warning: Self-answer! Do not close answer! VTC Q instead!
â Fabby
May 26 at 19:31
add a comment |Â
Warning: Self-answer! Do not close answer! VTC Q instead!
â Fabby
May 26 at 19:31
Warning: Self-answer! Do not close answer! VTC Q instead!
â Fabby
May 26 at 19:31
Warning: Self-answer! Do not close answer! VTC Q instead!
â Fabby
May 26 at 19:31
add a comment |Â
1
Look in the
/home/myself/Desktop
-folder.â mook765
May 26 at 16:59
Your
grep
searches the textSome_Folder_or_File_Names
whithin the files. It doesn't match filenames. Tryfind . -name "*Some_Folder_or_File_Names*"
instead.â PerlDuck
May 26 at 17:00
Did that too after posting this. Nothing. Even did ls -a.
â IRGeekSauce
May 26 at 17:00
Ok tried the "find" command. Nothing.
â IRGeekSauce
May 26 at 17:03