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 to copy files with specific date and name to another folder. I am very new to shell scripting so i am finding it hard to do that. see the sample code i have written below.
srcdir="/media/ubuntu/CA52057F5205720D/Users/st4r8_000/Desktop/office work/26 nov"... (13 Replies)
Discussion started by: Aqeel Abbas
3. Shell Programming and Scripting
We have some shell scripts which Internally uses Perl Script to Unzip the source zip files which comes to inbound directory. So now our requirement is to avoid the dependency on Perl Script and us Shell Script to unzip the files. I have the Perl script with me attached can some one... (3 Replies)
Discussion started by: naveen.dasu
4. Shell Programming and Scripting
Hello, I'm trying to write a script which is listing files based on different preferences, like filetype or permissions. All is fine, except for one: I want to list files in /home which has a different owner than the home directory it is in.
Here is an example:
/home/UserA is the directory, and... (10 Replies)
Discussion started by: Zwiebi
5. Shell Programming and Scripting
I have two ear files in a single folder. the ear file contains same xml files named "File1.xml". how to unzip each file seperately using shell script?
Chella. (11 Replies)
Discussion started by: ckchelladurai
6. Shell Programming and Scripting
I need help in unziping input file through shell script.
I had written script, which checks for input file extention.
If Extension is "zip" or "gz", then I want to do unzip/uncompress that file.
Caould you please let me know that, How to unzip a file through shell script (ksh).
Thanks... (16 Replies)
Discussion started by: Poonamol
7. Shell Programming and Scripting
Everyday 15 files are written to a folder \app\where\thefiles\are\destined\CURRFOLDER
I need to add date in YYYYMMDDHHMISS format to each of them.
Should be updated as: ACCOUNT_20101005175059.txt
After I update the files, they need to be
... (2 Replies)
Discussion started by: Duminix
8. Shell Programming and Scripting
I want to process all input files available into folder (C:\ShellPrg\InputFile\) Input files are abc.CSV , XYZ.zip (zip of CSV file), PQR.gz (zip of CSV file).
I want to check the extension of file, If its .zip/.gz then need to unzip the file as .CSV
I want to parse line by line of... (2 Replies)
Discussion started by: Poonamol
9. Shell Programming and Scripting
I hav a problem....
I dont know how to check .c files exists r not in a folder using IF in C shell script
actually i tried like this
even though some .c files or there in the current folder..it is not entering int o the if control statement...... (17 Replies)
Discussion started by: p.hemadrireddy
10. UNIX for Dummies Questions & Answers
I am using this command to unzip files from a source
unzip -o $source_dir -d $dest_dir
butthe problem is that this command creates a new folder at the destination and unzips all the files in that folder.
I dont want that extra folder.
source_dir= abc/myname.zip... (2 Replies)
Discussion started by: agarwalniru