![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| check the directory exist | ust | Shell Programming and Scripting | 7 | 09-22-2008 08:49 PM |
| How to check directory exist on servers | weonpc | Shell Programming and Scripting | 2 | 03-06-2008 06:29 AM |
| Check if certain files exist in a directory, if not add name to a textfile | SunnyK | Shell Programming and Scripting | 1 | 02-07-2008 09:21 AM |
| How to check a file exist and do a copy of other files | ahjiefreak | Shell Programming and Scripting | 6 | 12-20-2007 12:07 AM |
| how to check if the file exist or not? | gusla | UNIX for Dummies Questions & Answers | 3 | 03-27-2002 10:56 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
check/wait for files to exist before continuing
I'm attempting to write a pretty simple script. It opens a Filemaker file successfully. That Filemaker file takes around 30-90 seconds to finish. When it's done, it writes a few .xml files into the same directory where my shell script and the Filemaker script reside.
In my script, how can I loop/wait until the Filemaker process is finished? Basically loop until the .xml files are created, then continue. I've tried a couple of things and searched for solutions but can't get it to wait... Code:
# ----- open fmp_file.fp7 Thanks! |
|
||||
|
Code:
while [ ! -s *.xml ] do printf "." done echo "found it " thanks! |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| shell script, shell scripting, unix scripting, unix scripting basics |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|