9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am newish to the site and to unix.
I have a functioning interactive script running on Mac that sorts and processes files located in an unsorted folder on my desktop.
As it currently stands, the user types jpg into the command line, the script executes and iterates through the unsorted... (8 Replies)
Discussion started by: Braveheart
2. Shell Programming and Scripting
I need to write Unix shell script. To star with : I need to do some file checking on unix file system, then based on file existance, I need to run diff SQL in Teradata Bteq. After that, depending on Results of SQL, I need to code other shell scripting like moving file, within same... (4 Replies)
Discussion started by: Shilpi Gupta
3. Shell Programming and Scripting
I have a UNIX script to sftp batch processing. Here is my sftp command.
ftp -b toopc firstname.lastname@example.org
In the file toopc I have the following commands:
This brings in all files with an extension of .csv
However, I need to only bring in files that
... (6 Replies)
Discussion started by: schlinzj
4. UNIX for Dummies Questions & Answers
what is the equivalent command for batch scripting of tail -1.
for example : i have a.txt file with below the contents. i need to print last line
Use descriptive thread titles when posting. For example, do not post questions with subjects like... (3 Replies)
Discussion started by: Jewel
I extracted a list of files in a directory with the command ls . However this is not my computer, so the ls functionality has been revamped so that it gives the filesizes in front like this :
This is the output of ls command : I stored the output in a file filelist
1.1M... (5 Replies)
Discussion started by: ajayram
6. Shell Programming and Scripting
I want to process consecutive jobs in a sequence but when I execute 1 job ,the control does not return to the command prompt to continue with the next job.
Can anyone help me here?
Thanks (3 Replies)
Discussion started by: Taranjeet Singh
7. Shell Programming and Scripting
I need some help with a shellscript to batch process a folder of files with the imagemagick convert -append/+append command. The folder contains some hundred or thousand of small images in .png format which I would like to join together in order of their filenames. The... (3 Replies)
Discussion started by: imtombi
8. Shell Programming and Scripting
I have four scripts to run.
My 1st script will make script2 and script3 to run. I am setting a cron job for this script1 to run continuously.
This script1 will check for 2 text files and based on the existance of those text files it will initiate the script2 and script3.
Now my doubt is that... (2 Replies)
Discussion started by: RSC1985
9. Shell Programming and Scripting
I have been trying to run a unix script which contains many sql statements.I need to run this script every monday morning. I tried to run on command prompt, it works fine. But while I run it via batch or at command., it returns with library module could not be loaded (libcompat.1.o could not be... (3 Replies)
Discussion started by: ritzwan0