Jeff Weisberg on Sun, 12 May 2002 16:20:23 +0200 |
| Specifically, I want to kick off a delete of a huge directory and in | the mean time interact with the user a bit more. Only when i know the | delete is complete I want to continue doing the rest of the script | actions. | I don't know how to pull that off in bash. Any help would be appreciated. [several answers involving 'while something' loops deleted] rm -rf hugedir & more stuff wait the shell builtin 'wait' (without arguments) waits for all background tasks to complete. --jeff ______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|