LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-03-2014, 05:36 AM   #1
steak1987
Member
 
Registered: Jan 2012
Posts: 130

Rep: Reputation: Disabled
Exclamation deleted directory, only shows up in rubbish bin on r/o mount ?!?


Hey, I accidentally (accidental key-press) deleted a directory on an ext4 partition. I went to the trash-bin hoping to find it there, but it wasnt. I immediately mounted it as r/o the drive:

Code:
sudo mount -o remount,ro /dev/sda4
However after that, it shows up in my trash bin?

Code:
trash:///\media\USER\BackupData\.Trash-1000\files\adbpull/
how do I recover the files ? I can open in in the trash bin, but I cant seem to figure out how to move it to a new location ?

I tried to cd to the directory, but it doesnt respond....
 
Old 12-03-2014, 05:39 AM   #2
steak1987
Member
 
Registered: Jan 2012
Posts: 130

Original Poster
Rep: Reputation: Disabled
I figured it out, I need to use forward slash instead of backslash. Marking as solved.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
echo $PATH shows /usr/kerberos/bin:$PATH:$home/bin klcrowder1 Linux - Server 2 03-14-2013 06:14 AM
[SOLVED] df -h shows 100% used but I have deleted files... mattjjs Linux - Newbie 8 08-07-2012 02:32 AM
[SOLVED] Urgent, /bin directory is deleted after I killed yum update command mohsleem Linux - Newbie 7 01-09-2010 08:21 AM
every things shows in trash both deleted and nondeleted rakesh_sni Linux - Newbie 3 08-31-2009 12:01 PM
bin/bash:usr/bin/lpr NO SUCH FILE OR DIRECTORY Adibe_Hamm Linux - Newbie 3 10-14-2003 02:30 AM


All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration