Top "Rm" questions

rm is a basic UNIX command used to remove files, directories, and other items from the filesystem.

Is there any trivial way to 'delete by date' using ´rm'- in bash?

I noticed today (after ~8 years of happily hacking away at bash) that there is no trivial way to 'delete by …

linux bash date rm
In linux shell, How to cp/rm files by time?

In linux shell, When I run ls -al -t that show the time of files. How to cp/rm files …

linux shell time cp rm
hadoop fs -rm -skipTrash doesn't work

I copied some files from a directory to directory using hadoop distcp -Dmapreduce.job.queuename=adhoc /user/comverse/data/$CURRENT_…

hadoop rm distcp
Using find to delete all subdirectories (and their files)

I'm sure this is straight forward and answered somewhere, but I didn't manage to find what I was looking for. …

bash recursion find subdirectory rm
cronjob to remove files older than 99 days

I have to make a cronjob to remove files older than 99 days in a particular directory but I'm not sure …

linux bash cron find rm
Calling rm from subprocess using wildcards does not remove the files

I'm trying to build a function that will remove all the files that start with 'prepend' from the root of …

python django shell rm
remove files when name does NOT contain some words

I am using Linux and intend to remove some files using shell. I have some files in my folder, some …

regex linux shell rm
Argument list too long error rm command

I have a Linux based server using which i do some file manioulation and serve multiple other servers of mine. …

linux rm
Bash: What's the difference between "rm -d" and "rm -R"?

Questions What is the difference between the rm -d and rm -R commands in Bash? Which one should I use? …

bash terminal rm
Remove files created between certain time stamps.

Last night I had a script go a bit crazy and create a bunch of directories between 3:00 and 3:09am. Is …

linux time sorting debian rm