Hi have a util which generates set of files and directories on a location...but the problem is it create those in windows format (with spaces and special char).
So I execute rm, soon after I execute this util to remove directories
rm -fr $DIR_NAME/*\/
Help I request is, I need to exclude one single directories from this rm
for example: Assume the util creates 20 directories. I would like to exclude one directory from this 20 which I know which one to exclude.
please note...I cant speceify the target location to create these directories/files when I run the uti. its kind of hard coded in the code.
So how to exclude a directory from this rm
thanks in advance.