10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I want to fetch the files based on .done file and display the .csv files and Wil take .csv files for processing.
1.I need to display the .done files from the directory.
2.next i need to search for the .Csv files based on .done file.then move .csv files for the one directory
... (2 Replies)
Discussion started by: girija.g6
2 Replies
2. Shell Programming and Scripting
Ok I have a PERL script that reads an .xml file. One of the new services listed in the file, is alot longer than the others. I am trying to get a way for the spaces of the Service module to read the .xml file and set the length of the %s to the longest Service
my $jmsfn = "jms-connection.xml";
... (2 Replies)
Discussion started by: bigbenn
2 Replies
3. Shell Programming and Scripting
i have a file abc.dat that has the below content
abc.dat: -
123.dat
now,
i want to print/output only the below
123
from the file content.( see..i want to chop off .dat extension)
kindly advise on this in ksh-
i just want to the flag i should pass to the cat command - (2 Replies)
Discussion started by: billpeter3010
2 Replies
4. Shell Programming and Scripting
trying to copy all the files without extension then add
"*.txt" but its not working is there any other way and i do not want to use
cpio -vdump just want to use copy command
FROM=/usr/share/doc
TO=/aleza/doc
#the follow function copies all the files without extensions
call(){
cd $FROM... (3 Replies)
Discussion started by: elginmulizwa
3 Replies
5. Shell Programming and Scripting
I am currently scanning a directory with a shell script to look for all files with a .sh extension. I am wondering how to make it look for more then one extension. For example all .sh, .conf, and .sql files?
Currently this is what I am doing....
find... (3 Replies)
Discussion started by: LRoberts
3 Replies
6. UNIX for Dummies Questions & Answers
I am executing a program wp1s0000.sh_old and it is executing as expected irrespective of the extension "sh_old"
how is this possible ?? (1 Reply)
Discussion started by: sharmasdeepti
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I need a help regarding a small requirement. I have a list of C files. I need to put them in a file but without .c extension.
say if I have the files as file01.c, file02.c, file03.c etc
My file say cfiles should have
file01
file02
file03
...
...
etc
Appreciate your quick help on... (3 Replies)
Discussion started by: adurga
3 Replies
8. Shell Programming and Scripting
Can anyone tell me the easiest way to append an extension (ie. .ldr) to all files in a directory that do NOT have an extension? The directory contains files with and without extensions, however I'm only interested in the files with NO extension.
Thanks. (3 Replies)
Discussion started by: here2learn
3 Replies
9. Shell Programming and Scripting
Hi
I am writing a script which does an FTP of a set of files onto another machine and then would have to rename the files into a different extension on the source machine.
for example if the file being sent via FTP is sample.txt. Once the file has been transferred i would want to modify the... (2 Replies)
Discussion started by: kswaraj
2 Replies
10. Shell Programming and Scripting
How do you write a shell script that change the extension of all the files?
e.g
chext rtf doc
where .rtf is the original extension
and .doc is the new extension
is it something to do with basename?
do I need a for loop?
Please help!
Unix SuperNewbie (4 Replies)
Discussion started by: prkwan
4 Replies