The remove tag has no wiki summary.
0
votes
3answers
51 views
Rm command recovery for this situation
İn my desktop, i have a dir. called exam, and i wanted to remove it from the console and wrote rm * /exam, and apparently it removed some other files from my desktop. Please tell me that there is a ...
8
votes
1answer
140 views
Is there a way to prevent the creation of a given file?
When ever I use a browser reading PDF the acrobat plugin is used producing a file called C:\nppdf32Log\debuglog.txt in my home. Is there any way to prevent that this given file can be created? I mean ...
2
votes
1answer
108 views
How do I remove/uninstall a program that I have complied from source? [duplicate]
How do I remove a program that I have compiled from source using the ./configure; make; make install method? Does it matter whether I have kept the original directory that the source was stored in or ...
0
votes
2answers
457 views
How to find last deleted files on OpenSuse?
I didn't lock the screen on my OpenSuse Linux and let my girlfriend do all evil things when I was sleeping. Is there a way to find out if she deleted any files from my PC?
I was looking at the "Date ...
3
votes
1answer
157 views
Unable to uninstall libglib2.0-0 from Software Center
I have a fresh install of Debian 6.0.5 (i386) on VMware Player. I was trying to install libglib2.0-0 using this command:
sudo aptitude install libglib2.0-0
Unfortunately, I don't remember the ...
1
vote
1answer
183 views
Sort -u Function Command Not Working
As you can see in the picture attached
screen shot
After I used the sort command to sort a VERY large wordlist file I then split them up using the Split command. From there I confirmed that the ...
7
votes
3answers
293 views
How to remove only the content of directories?
I'm in a folder: /var/myfolder.
Inside there are some other folders like: /var/myfolder/A/ /var/myfolder/B/ `/var/myfolder/C/ etc.
Inside each there are some files with random names. How do I ...
1
vote
1answer
1k views
How do I remove a directory and all its subdirectories?
I'm trying to learn some directory navigagtion with bash and all I know is that
rmdir directoryname
will remove the directory but not if it's containing something. Is there a way to force it to ...
1
vote
2answers
257 views
Remove oldest folders + files (50GB) from a folder when share/HD reaches 95% full capacity
I have a big share (~5TB) that is getting full.
Now I want to make a script that deletes data from 2 specified folders. But this need to be the oldest files/folders and it need to stop when ~50GB has ...
3
votes
3answers
500 views
How to delete a file with multiple colon signs in its name?
I have a folder with so many files whose name has multiple colon signs. For example: Mail::Message::Field::Full.3pm.gz.
I wonder how to delete them.
I have tried
rm ...
1
vote
1answer
182 views
Remove first instance of lines with duplicate field value
I have sha1 summed all the image files on my storage server and put the results in a text file in the form of:
sha1sum filename
I've sorted the file and removed all all unique sha1sum entries. So ...
4
votes
3answers
4k views
How do I remove multiple files with a common prefix and suffix?
I have many files named
sequence_1_0001.jpg
sequence_1_0002.jpg
sequence_1_0003.jpg
...
and files named
sequence_1_0001.hmf
sequence_1_0002.hmf
sequence_1_0003.hmf
...
and files ...
2
votes
1answer
944 views
How to remove an empty directory (btrfs filesystem)?
I'm using the experimental btrfs filesystem.
My directory looks like this:
ls -la empytfolder
total 4
drwxr-xr-x 1 root root 0 19. Mär 14:00 .
drwxr-xr-x 1 root root 298 19. Mär 13:59 ..
I ...
2
votes
1answer
3k views
How to remove gnome-games package without removing other packages?
So I want to remove (more exactly purge) some packages like gnome-games from Debian 6. As already expected and know by research Aptitude also wants to remove in example the meta-package gnome, as ...
2
votes
2answers
582 views
removing linux kernels
Below are all the linux kernels that are running on my machine. I am trying to make a debian base install as light as possible. The kernel I am running is linux-image-2.6.30-vortex86mx-apm. I am ...
4
votes
3answers
834 views
How to delete duplicates of files in directory and subdirs?
Is there any fast method to delete duplicates of files based on any hash sum (i.e. SHA1 to be fast). Because I've got some mess in my music files.
0
votes
0answers
233 views
Debian doesn't boot after removing secondary hard drive [closed]
In the beginning I had Debian 6 running on one hard drive (/dev/sda1).
Then I decided to keep all my stuff(pics, videos, etc..) in another slave hard drive (/dev/sdb1).
So sda1 has Debian OS
sdb1 ...
5
votes
2answers
418 views
find: Delete with exclude
This command is not DWIM-compliant:
find . \( -name .svn -prune -false \) -o \( -empty -delete \)
find: The -delete action atomatically turns on -depth, but -prune
does nothing when -depth is ...