Skip to main content

Thread: make rm ignore directories


title says all, want find out how run rm terminal, , have ignore, in don't delete directories in current directory, not prompt , finish rm job.

example

in /home/username/example
run rm *
there exists /home/username/example/otherthing

rm should clear /home/username/example leave /home/username/example/otherthing alone

from terminal:

rm -rf /test/test1/test2/*

clean out test2 of files.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [all variants] make rm ignore directories


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support