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
Post a Comment