10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am new to shell script and there is a requirement where files should be moved from Subfolder to parent folder.
parent folder --> /Interface/data/test/IN
Sub folder -->/Interface/data/test/IN/Invoice20180607233338
Subfolder will be always with timestamp... (6 Replies)
Discussion started by: srivarun15
2. Shell Programming and Scripting
I am trying read all the files from list into a variable line using bash. After there are read into the variable they are passed to a delete call. The files appear to be read line (as I can see them with the echo) by line into the variable, but the delete call is not removing them and I do not... (1 Reply)
Discussion started by: cmccabe
3. Shell Programming and Scripting
I heva a problem creating a script that read specifc value from all the files of an entire folder
I have a number of email files into a directory and i need to extrect from each file 2 specific values.
After that i have to put them into a new file that looks like that:
... (1 Reply)
Discussion started by: ahmenty
4. Shell Programming and Scripting
I wish to write a piece of code to read lines of the flat file and cut each lines of record to a variable, then use this variable to pass as an parameter of a Sybase stored procedures, if there are 5 lines of record from the text file, then this stored procedures will be called 5 times.... (8 Replies)
Discussion started by: newbie2011
5. Shell Programming and Scripting
I am trying to write a shell script which can read folder names from a text file and then go to the folder and picks up a xml file and write on my sipp script so that I can run the sipp script.
I have a text file called thelist.txt where I have provided all the folders... (7 Replies)
Discussion started by: pm1504
6. UNIX for Dummies Questions & Answers
I am using the below script for checking for a file in a folder.
Is there any way we can check for files which are starting with GL*.csv.What I am trying to do is , I have to check in a folder for the GL*.csv files if there are any files they I... (6 Replies)
Discussion started by: wangkc
7. Shell Programming and Scripting
I have many files in a folder (like 200) and I want to run a Perl script through all of them. One way would be to do it one by one (which will take forever). But I am sure there is a faster way of doing it.
So inside the folder i have files named in no particular way
YUI456... (3 Replies)
Discussion started by: phil_heath
8. Shell Programming and Scripting
I have a folder '/samplefolder' in which i have some files like data0.txt, data1.txt and data2.txt.
I have to search the folder for existence of the file data0.txt first and if found have to copy it to some other file; next i have to search the folder for existence of file... (5 Replies)
Discussion started by: satish2712
9. Shell Programming and Scripting
I have a number of shell script,perl script.. etc in a directory,which i need to execute in some order.Now i need to create a script to call all these files in that order..so that the new script will execute all the files one by one....plz help this is urgent.
Thanks In advance
Anju (3 Replies)
Discussion started by: anju
10. UNIX and Linux Applications
I am new to the Unix shell scripting world. It would be great if some body can help me with my requirement
1) Script (say script1.sh) which will take set of files from one folder (say input folder).
2) Take the first file from the folder and execute another script (script2.sh).Pass 2... (1 Reply)
Discussion started by: girishnn