Sponsored Content
Top Forums Shell Programming and Scripting [Solved] Help with shell Script ,wait for some files for some time?? Post 302887284 by Pradeep Shetty on Thursday 6th of February 2014 03:54:06 PM
Old 02-06-2014
Thank u Corona688 for the perfect solution and quick response ,

its working fine for me...

thanks!!!!
pradeep
This User Gave Thanks to Pradeep Shetty For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

wait for 5 seconds in shell script

hi how can i wait for 5 seconds inside my shell script? 'wait 5' command doesnot seem to be working? (2 Replies)
Discussion started by: gopsman
2 Replies

2. Shell Programming and Scripting

shell script to find latest date and time of the files

Hi everyone, Please help:) I have a list of 1000 different files which comes daily to the directory.Some of the files are not coming to the directory now. I need to write a shell script to find the latest date and time of the files they came to the directory. The files should be unique.... (1 Reply)
Discussion started by: karthicss
1 Replies

3. Shell Programming and Scripting

Shell script to move certain files on scheduled time

Hi Friends, I want a shell script which will move certain .jar files from a specified location (say /publish/content) to (/publish/archive) on every saturday morning 6 am. One more thing to add is that before moving files it must check free space at (/publish/archive), if it is more than 60 %... (7 Replies)
Discussion started by: abhishek27
7 Replies

4. Shell Programming and Scripting

Move files one at the time and wait until the previous file is handled

I'm a novice at unix and need it more and more to do my work. I seem running into problems getting this script "attempt" to work: I need to copy all files in a directory, which is containing 22000 files, into a directory one level up. There a tool monitors the content of the dir and processes... (2 Replies)
Discussion started by: compasscard
2 Replies

5. Shell Programming and Scripting

shell script to replicate the log files from one location to another in real time

Hi, On the server, we have app log files in this location /app/logs/error.log On the same server, in a real time, we would like to replicate that into /var/ directory. if someone has already done this, please share the script. Thanks in advance. (4 Replies)
Discussion started by: lookinginfo
4 Replies

6. Shell Programming and Scripting

calling a shell script in background and wait using "wait" in while loop

Hi, I am facing a strange issue, when i call a script from my while loop in background it doesnt go in background, despite the wait i put below the whil loop it goes forward even before the process put in background is completed. cat abc.txt | while read -u4 line do #if line contains #... (2 Replies)
Discussion started by: mihirvora16
2 Replies

7. Shell Programming and Scripting

Shell Script to delete files within a particular time frame under multiple sub folders

Greetings! I'm looking for starting information for a shell script. Here's my scenario: I have multiple folders(100) for example: /www/test/applications/app1/logs /www/test/applications/app2/logs Within these folders there are log files files that need to be deleted after a month. ... (3 Replies)
Discussion started by: whysolucky
3 Replies

8. Shell Programming and Scripting

[Solved] Get files & delete them by shell script

I want to use my script to get any file then delete it once it transfers to my side , I manage to create below script to generate "list" file which contains all file names in "10.10.1.1" then I made "a.out" file which contains the commands that I want to run it on "10.10.1.1" to get & delete the... (2 Replies)
Discussion started by: arm
2 Replies

9. Shell Programming and Scripting

Wait for one processes to complete in a shell script

Let's say I start process A.sh, then start process B.sh. I call both of them in my C.sh How can I make sure that B starts its execution only after A.sh finishes. I have to do this in loop.Execution time of A.sh may vary everytime. It is a parameterized script. (17 Replies)
Discussion started by: rafa_fed2
17 Replies

10. UNIX for Dummies Questions & Answers

Script to run another script with wait time

I want to create a script which calls another script with certain interval. Script "A" should call script "B" every 60 seconds. Script "A" should also be able to call other scripts such as "C", "D", etc. at an interval of 60, 120, 180 seconds respectively. Basically script A should take two... (1 Reply)
Discussion started by: Vee
1 Replies
DACSINIT(1)						       DACS Commands Manual						       DACSINIT(1)

NAME
dacsinit - Configure a minimal DACS federation interactively SYNOPSIS
dacsinit [-d] [-n] DESCRIPTION
This program is part of the DACS suite. The dacsinit command interactively creates a minimal DACS federation and jurisdiction. By default, the program uses the default paths that were established when DACS was built and the example paths used by dacs.quick(7)[1]. When prompted, typing Return/Enter selects the default value. It can also be used to create a configuration for a federation with one very basic jurisdiction based on names input to dacsinit. The resulting configuration can then be extended or customized manually. Note This program can be found in the distribution's src directory. It is not copied elsewhere during installation. OPTIONS
The following options are accepted: -d Avoid overwriting "real" files by appending a a suffix ("-xxx") to all files installed by this program. This is useful for debugging, but you must clean up these bogus files manually. -n Do not actually do anything, but print the actions that would be done. Can be used with -d. DIAGNOSTICS
The program exits 0 if everything was fine, 1 if an error occurred. SEE ALSO
dacs.quick(7)[1] AUTHOR
Distributed Systems Software (www.dss.ca[2]) COPYING
Copyright2003-2012 Distributed Systems Software. See the LICENSE[3] file that accompanies the distribution for licensing information. NOTES
1. dacs.quick(7) http://dacs.dss.ca/man/dacs.quick.7.html 2. www.dss.ca http://www.dss.ca 3. LICENSE http://dacs.dss.ca/man/../misc/LICENSE DACS 1.4.27b 10/22/2012 DACSINIT(1)
All times are GMT -4. The time now is 07:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy