General :: Delete File, And Can't Get It Back?
Jan 30, 2010
after so many times deleting staff for mistake.I am unable to get it back from my external hard drive.I use Ubuntu 8.04 LTS and I have all my staff on external hardrive.
Quote:
Z:----> Media -----> FreeAgent Drive
After delete I knew was her
Quote:
/acousticmetal[1]/
, I did all the search I can possible think of.and i dint have any good look can any one please help me out on this issue?.
View 13 Replies
ADVERTISEMENT
Oct 18, 2010
I installed Ubuntu, with a dual boot functionality and worked great. I was recommended Backtrack 4 and I installed it in the system. Now, I try to use the dual boot with Backtrack, Ubuntu and Windows 7 and only Backtrack works. I tried the restore disks that I created when I got the laptop, but the problem persists. s there a way to delete this Backtrack from the system and go back to Windows 7?
View 7 Replies
View Related
Oct 21, 2009
Many folders within a subdirectory some of which have lots of data in and some of which have only one specific file called produkt.fil inside.I need a command to find and delete those folders that contain ONLY the file produkt.fil - if other files exist (doesnt matter what they are) then they should be left alone. Note: produkt.fil exists in all of the folders always.
View 5 Replies
View Related
Jul 30, 2010
When I ls -l /etc/passwd, -rw-r--r-- 1 root root /etc/passwd When I login as myself, and rm /etc/passwd, it asks: rm: remove write-protected file '/etc/passwd'? If I say yes, will it actually delete the passwd file?
View 1 Replies
View Related
Jan 21, 2010
How do I delete a file if it happens like this.
-????????? ? ? ? ? ? temp.cgi
View 5 Replies
View Related
Feb 18, 2010
Why is there no Delete when I right click like there is with Windows in ubuntu? Pretty much everything else is there like new folder and so on Is there some way to add it? Also why when i delete something does it not ask me if I am sure that i want to delete that file?
View 6 Replies
View Related
Nov 30, 2010
we assume that we have 2 folders with the name 1 and 2 . The folder 2 is inside 1 . Also, in folder 2 we have file with name "file.txt". And we are in folder 1 . How can we delete the file.txt in one command line ? I mean without using the code below:
Code:
cd 2
rm -f file.txt
cd ..
View 3 Replies
View Related
Nov 21, 2010
when i try to delete, it says can not move to trash,so, how do I delete it permanently?In windows is shift+del
View 2 Replies
View Related
Apr 28, 2011
i wanna ask on how to delete a file or a certain file in linux by using php or in other word by using web browser. example i want to delete the file inside /var/www/cgi-bin/ with browser.
View 14 Replies
View Related
Jun 5, 2011
looking to delete the last 6 lines of a file with sed. figured out how to delete the last line..but i want the last six.
View 6 Replies
View Related
Nov 11, 2010
I was creating a few scripts, I am trying to create a restore script to restore files that have previously been moved to a folder I selected. When moved I stored the original path for these files all in one text file.
I want to know if anyone can tell me how to delete the line from the file after using it restore the file. I have used the grep command to search through the file "pathName" to find where the file was stored but now want to delete that same line.
View 5 Replies
View Related
Jan 9, 2010
I am facing a basic problem in RHEL 5.2. Some of files in a mounted showing ? in place of owner and group owner.
root# find /data/abc -nouser
listing those files.
How to delete those files because
root# find /data/abc -nouser -exec rm -rf {} ;
showing error access is denied.
View 10 Replies
View Related
Aug 19, 2010
how to delete unreadable file? As you can see at attached picture, there is two unreadble files at root directory.
Code:
[code]....
View 4 Replies
View Related
Jun 12, 2010
My desktop computer has 2 hardrives, one 70gb and one 40gb, previously, the 40gb was windows XP and the 70gb was a backup, I decided to install opensuse on the 70gb backup, and now I want to wipe out the 40gb HDD that has windows xp and turn that into a back up.
View 9 Replies
View Related
Jan 24, 2010
The only problem is I'm having trouble with Bindwood, the bookmark synchronising program. I'm on 9.10 and using firefox and whenever I try and delete a bookmark it just appears in my bookmarks next time I restart firefox.
View 1 Replies
View Related
Nov 28, 2010
I recently installed 10.10 netbook remix on my Samsung N150 netbook alongside Windows 7 Starter. At the time of the first installation one of the forward buttons wasn't showing up so I was stuck and had to reboot and restart the installation. This happened after I had made the partition for Ubuntu so when I got back to that stage in installation there was already a partition made. I tried to delete the previous partition but it kept coming back so I made another partition for Ubuntu and installed it.
It was working fine apart from a problem with the right-click and dragging icons. Then I updated the grub and after restarting the machine my grub disappeared and I was left with a black screen with a blinking cursor. I reinstalled Ubuntu again using my external HD with new partitions (the same thing happened where the partitions kept coming back after trying to delete). Now my Windows won't load up and just goes straight to recovery. After I restored it the grub disappeared again.
View 9 Replies
View Related
Apr 27, 2011
I am trying to find and delete a file using this Code: find . -type f -name ph2964781400100954291.jpg -exec rm -f {} ; It does not work, I think because by default on my distro rm is iterative.
View 2 Replies
View Related
Jun 12, 2010
I have external USB HD 500 GB, by mistake folder with 13 GB deleted, using some windows recovery tools, i got it back, but the deleted folder still take and fill space on the HD!!
any idea how to remove or edit it under linux ?
View 15 Replies
View Related
Jul 20, 2010
I have a file that contains 100 ligns, i need to write a script that read 70 lignes and redirect those 70 ligns to another files and these 70ligns have to be erased in the first file
when i write this command
head -70 somefile.txt>test.txt
or
sed -n 70p somefile.txt>test.txt
i have these 70 lines in the text.txt files
but these 70 lines have to be deleted inthe first file somefile.txt
View 1 Replies
View Related
Jan 20, 2011
seems like i got a hacker on my server who placed a "western union fishing" site on it.i am not able to delete the directory with the root user.
Code:
root@laforge:/var/www/html/mailadmin.somewhat.com> ll
total 12
[code]....
View 14 Replies
View Related
Apr 27, 2010
i've got a file with sorted words - one on each line.How could it be possible to delete thouse lines that have words of length 1 or 2 (1-2 letters). I guess a good way it will be with AWK, n its fuction length(), but getting it, i dont know how to delete those very lines.
View 14 Replies
View Related
Mar 3, 2010
I have a log file which is continously being accessed. Now I want to delete the first line without disturbing the file.Is it possible? The Issue is the log file is being provisioned with ^@^@^@ characters in the first line occupying huge space.So I need to get rid of that. I dont have time to work with root cause but just a script to reduce this space.
View 3 Replies
View Related
May 12, 2011
I'm confused about "hard link" feature. I've been learning from my UNIX Academy DVDs training that hard links to a file can be many and each of them is an effective filename for the associated data. So let assume that we have some very sensitive data in a file and we want it to be deleted and file has 20 links. I "delete" a file, but in fact I deleted only one "name" of it. My understanding from the training that data is still there until we delete the last associated hard link. But how can I find the names of all of them? If we have the names, they can be removed one by one. Or may be there's command that can trace all the "names" and remove them at once?
View 14 Replies
View Related
Nov 15, 2010
Got directories dated of 2009 2008, What is the best way to ls the directories, sort them by date, redirect the output to a file and then delete them?
View 14 Replies
View Related
Mar 31, 2011
What's a Unix/Linux one-liner that will let me delete all but the most recent N revisions of each file?
I've got a bunch of files with revision numbers as part of a legacy asset-management system:
bar.r7.js
bar.r8.js
bar.r9.js
bar.r10.js
bar.r11.js
[Code]....
I want to keep the last three of each, so in the above list the command would delete bar.r7.js, bar.r8.js and foo.r1.js.
View 1 Replies
View Related
Mar 8, 2009
When trying to delete :
I must say that the tar file contain only soft links...not real files...
View 5 Replies
View Related
Mar 21, 2011
i am having following lines in a file called test.
subscribe parser for dinesh
extend size for dinesh
subscribe parser for anish
unsubscribe parser for dinesh
extend size for arvind
I want to delete all lines which contains the string "dinesh". Is it possible.
View 8 Replies
View Related
Nov 20, 2010
still cant seem to get my file coloring back. normally directories are colored blue, devices yellow etc, ever since i made a change to my shell, and back again, i lost my coloring for directories
View 2 Replies
View Related
Jul 11, 2010
Code:
[serv@local subsys]$ rm -rf nagios
rm: cannot remove `nagios': Permission denied
[code]....
View 2 Replies
View Related
Dec 14, 2010
I have ubuntu 10.10 installed I have 5 more NTFS partitions in my disk other then Home & root My problem is, when I try to delete a file or folder it says "Cannot move file to the Rubbish Bin, do you want to delete permanently? The file "Nisarg" cannot be moved to the Rubbish Bin." I have more 2 NTFS partition on portable hard drive. On It trash is working fine.My home and Root folder also haven't this problem.
View 14 Replies
View Related