Dec 30, 2003 #2 olded Programmer Oct 27, 1998 1,065 US Hi: 1) rmdir $home.dir removes an empty directory provided you have permissions to remove it. 2) rm -r $home.dir recursively removes $home.dir and it's entire contents, again, provided you have permission. Regards, Ed Upvote 0 Downvote
Hi: 1) rmdir $home.dir removes an empty directory provided you have permissions to remove it. 2) rm -r $home.dir recursively removes $home.dir and it's entire contents, again, provided you have permission. Regards, Ed
Dec 30, 2003 Thread starter #3 6151 Programmer Dec 30, 2003 7 CA Thanks Ed The directory is called ${home.dor}, which created by some script. rm -rf ${home.dir} ends up with : ksh: ${home.dir}: 0403-011 The specified substitution is not valid for this command. Thanks Upvote 0 Downvote
Thanks Ed The directory is called ${home.dor}, which created by some script. rm -rf ${home.dir} ends up with : ksh: ${home.dir}: 0403-011 The specified substitution is not valid for this command. Thanks
Dec 30, 2003 #4 PHV MIS Nov 8, 2002 53,708 FR Try something like this: Code: rm -rf '${home.dir}' Hope This Help PH. Upvote 0 Downvote
Dec 30, 2003 Thread starter #5 6151 Programmer Dec 30, 2003 7 CA It's working. Thanks Upvote 0 Downvote