Reply
Thread Tools
Posts: 31 | Thanked: 1 time | Joined on May 2010
#1
for N900.. i was testing out the application Photorec and after i did, all the things it recovered were saved in the file home/user, i believe. is there anyway i can access that file

Edit:
I m not 100% sure where it has saved those files it recovered but i know that my conky shows i have 0 space in home.

Last edited by imkihun; 2010-07-25 at 03:39.
 
PathFinder@9GS's Avatar
Posts: 164 | Thanked: 79 times | Joined on Jul 2010
#2
Originally Posted by imkihun View Post
for N900.. i was testing out the application Photorec and after i did, all the things it recovered were saved in the file home/user, i believe. is there anyway i can access that file

Edit:
I m not 100% sure where it has saved those files it recovered but i know that my conky shows i have 0 space in home.
Using terminal, cd /home/user . Then you can do ls -a

Got confused by the title first.. U stated user/home , different thn what you stated inside.. bt i understood .
Though I hope it helps. You can also use the find function if you remember the file name
 

The Following User Says Thank You to PathFinder@9GS For This Useful Post:
Posts: 31 | Thanked: 1 time | Joined on May 2010
#3
Originally Posted by PathFinder@9GS View Post
Using terminal, cd /home/user . Then you can do ls -a

Got confused by the title first.. U stated user/home , different thn what you stated inside.. bt i understood .
Though I hope it helps. You can also use the find function if you remember the file name
Thank you!!

but i once i find the files how do i delete it or access it?
 
PathFinder@9GS's Avatar
Posts: 164 | Thanked: 79 times | Joined on Jul 2010
#4
To delete the file , you can always do rm or rmdir depending on what you are tryin to do with.
Try deleting it without using sudo first

navigate to the folder containing that file and do rm <file name>

Make sure you know what you're doing.
 
Posts: 31 | Thanked: 1 time | Joined on May 2010
#5
Originally Posted by PathFinder@9GS View Post
To delete the file , you can always do rm or rmdir depending on what you are tryin to do with.
Try deleting it without using sudo first

navigate to the folder containing that file and do rm <file name>

Make sure you know what you're doing.

well i have located the files i need to delete using your technique you have given me on terminal.
i cant locate the file manual through folder manager so i have to delete them using terminal.
i have tried using rm (Filename) however i get a message "rm (Filename) is a directory"
does this mean i have to do something esle to delete them
thank you

Edit, i tried using rmdir but i get this message "rmdir: (filename): directory not empty"
 
Posts: 992 | Thanked: 738 times | Joined on Jun 2010 @ Low Earth Orbit
#6
Code:
rm -rf nameofdirectory
 

The Following User Says Thank You to kureyon For This Useful Post:
PathFinder@9GS's Avatar
Posts: 164 | Thanked: 79 times | Joined on Jul 2010
#7
Originally Posted by imkihun View Post
well i have located the files i need to delete using your technique you have given me on terminal.
i cant locate the file manual through folder manager so i have to delete them using terminal.
i have tried using rm (Filename) however i get a message "rm (Filename) is a directory"
does this mean i have to do something esle to delete them
thank you

Edit, i tried using rmdir but i get this message "rmdir: (filename): directory not empty"
Yeah well I don't think I remember on top of my head , the option to force it to delete the folder even if there is a file inside.

In the mean while you can always go to the folder inside and do "rm * " that should remove the files ( if there are no folders) and then you can come out and remove the folder.

If i remember that way to force deletion, I will post it here .

Lemme know if it works
 

The Following User Says Thank You to PathFinder@9GS For This Useful Post:
Posts: 31 | Thanked: 1 time | Joined on May 2010
#8
Originally Posted by PathFinder@9GS View Post
Yeah well I don't think I remember on top of my head , the option to force it to delete the folder even if there is a file inside.

In the mean while you can always go to the folder inside and do "rm * " that should remove the files ( if there are no folders) and then you can come out and remove the folder.

If i remember that way to force deletion, I will post it here .

Lemme know if it works
i could have internet sex with you LOL xPxP
this is amazing!! [rm -rf (File name)] WORKS!! that force deletes it! well from what i have experienced it~ it did force DELETE
 
PathFinder@9GS's Avatar
Posts: 164 | Thanked: 79 times | Joined on Jul 2010
#9
lol, I'm glad it all worked out okay with you
 
Posts: 515 | Thanked: 266 times | Joined on Nov 2009 @ Oelsted, Denmark
#10
Actually -rf means recursive + force so You shouldn't use it losely...

If You run an rm -rf in the wrong place it will remove the directory and everything below it...

An rm -rf / for example is a very bad idea...

If unsure You might want to add the i option (-rfi). This way it will prompt You before removing anything...

Output of rm --help:
Code:
Usage: rm [OPTION]... FILE...
Remove (unlink) the FILE(s).

  -f, --force           ignore nonexistent files, never prompt
  -i                    prompt before every removal
  -I                    prompt once before removing more than three files, or
                          when removing recursively.  Less intrusive than -i,
                          while still giving protection against most mistakes
      --interactive[=WHEN]  prompt according to WHEN: never, once (-I), or
                          always (-i).  Without WHEN, prompt always
      --one-file-system  when removing a hierarchy recursively, skip any
                          directory that is on a file system different from
                          that of the corresponding command line argument
      --no-preserve-root  do not treat `/' specially
      --preserve-root   do not remove `/' (default)
  -r, -R, --recursive   remove directories and their contents recursively
  -v, --verbose         explain what is being done
      --help     display this help and exit
      --version  output version information and exit

By default, rm does not remove directories.  Use the --recursive (-r or -R)
option to remove each listed directory, too, along with all of its contents.

To remove a file whose name starts with a `-', for example `-foo',
use one of these commands:
  rm -- -foo

  rm ./-foo

Note that if you use rm to remove a file, it is usually possible to recover
the contents of that file.  If you want more assurance that the contents are
truly unrecoverable, consider using shred.

Report rm bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report rm translation bugs to <http://translationproject.org/team/>
__________________
Christian Wilken - tux-POWER.dk!
... May the Source be with You ...
 

The Following User Says Thank You to DrWilken For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 08:29.