Tagged Questions

I want to remove a directory that has large amounts of data on it. This is my backup array, which is a ZFS filesystem, linear span, single pool. The data is in this pool called san, mounted on /san
...

I have a hard drive with windows loaded on it hooked up to my Linux machine for backing up some of the information. I want to delete one of the 'temporary internet files' folders and it deleted all ...

I'm trying to remove some obsolete backups, and deep inside one I've found a file 'cifs3bee' that I can find no way of removing. (And since I can't remove it, it's preventing the removal of the entire ...

I want to replace rm by a more informative variant: I would like to see which files will be deleted, along with their size, and I would like this information to use the same coloring as ls.
I built ...

I am looking for a unix command sequence, which is able to perform a quite complex, conditional deleting action.
All files with the extensions "[NAME].cut" and "[NAME].cut.bak" shall be deleted, IF ...

I am trying to delete all the files with a space in their names. I am using following command. But it is giving me an error
Command : ls | egrep '. ' | xargs rm
Here if I am using only ls | egrep '. ...

If rm dir -r has removed just partial content of dir/dir1/ (and I cancelled rm), has it not removed anything in dir/dir2/ if dir/dir2/ still exists and contains something? My OS is Ubuntu 14.04 and ...

I was removing a directory by rm -r mydir and cancelled it in the middle. How can I find out what have been removed under the directory?
Does remove a content of a directory change the timestamp of ...

I have a Python daemon running on CentOS that opens a file at the beginning of a session, and keeps writing to it.
A cronjob however, gzipped the file that was being written to, and so the file moved ...

I have a few lines in a shell script whose function is to iterate through directories, match some names, and delete them. Some areas of the file system are write protected and I would like to leave ...

I was messing around with a log4j properties file and accidently made a folder with the following text ${foo} however I also have an environment variable named foo that points to a folder so thus if I ...