![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Remove contents of directory, but not directory | pdc | Shell Programming and Scripting | 9 | 04-09-2009 03:02 PM |
| Script to remove all empty files within the directory structure? | cat123 | Shell Programming and Scripting | 5 | 06-05-2008 10:01 AM |
| wait for 5 seconds in shell script | gopsman | Shell Programming and Scripting | 2 | 08-30-2007 06:47 AM |
| is there any way to excute script every N seconds? | umen | Shell Programming and Scripting | 7 | 03-30-2006 05:06 AM |
| smitty, remove user, remove directory as well.. | yls177 | UNIX for Dummies Questions & Answers | 2 | 11-11-2002 02:43 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
remove directory x seconds after script completes
Hi guys,
I am working with a script within a Mac OS X package installer. The package installer will run the bash script once the files have been copied/installed. I have a little trouble with the last line of my script causing the package installer to crash once in a while and I have narrowed it down to the installer looking for the folder that I am deleting. What I would like to do is to have the last line run a sleep/rm -rf combo and have it disassociate itself from the script. This way the script completes, the installer completes and then x number of seconds later the actual rm command takes place and the package installer isn't any the wiser. Is this possible? Thanks, Rob |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|