10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a specific set (all ending with .bam) of downloaded files in a directory /home/cmccabe/Desktop/NGS/API/2-15-2016. What I am trying to do is use a match to $2 in name to rename the downloaded files. To make things a more involved the date of the folder is unique and in the header of name... (1 Reply)
Discussion started by: cmccabe
1 Replies
2. UNIX for Dummies Questions & Answers
I'm afraid this is a silly question but I can't figure it out.
I have a script like so...
echo "Enter DRDL Signature Version Number"
read DRDL_Number
mv signature_output.csv SERVICE_OBJECTS_S-$DRDL_Number.csv
The resultant filename does not contain the .csv as follows.... (3 Replies)
Discussion started by: Cludgie
3 Replies
3. 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
4. Red Hat
Hello,
Our system on a Redhat platform is generating ZIP archives that we then send to another system on a Windows machine. I have no issue generating a ZIP file containing up to 2GB worth of data and 350k files, I can unzip all contents on the machine with no issue, however the remote system on... (4 Replies)
Discussion started by: Indalecio
4 Replies
5. Shell Programming and Scripting
I have a file
n06-z30-sr65-rgdt0p25-varp0.25-8x6drw-test.cmod
and I want to get the extension.
At the moment I have
set filextension = `echo $f | awk 'BEGIN {FS="."} {print $2}'`
which of course does not work as there is a point in varp0.25 (13 Replies)
Discussion started by: kristinu
13 Replies
6. UNIX for Dummies Questions & Answers
unix program to which a directory name will be passed as
parameter. This directory will contain files with various
extensions. This script will create directories with the names of the
extention of the files and then put the files in the
corresponding folder. All files which do not have any... (2 Replies)
Discussion started by: Deekay.p
2 Replies
7. Shell Programming and Scripting
Hi.,
How to extract the extension of a file which are present in the directory?. In my script I tried something like:
echo abc_ss_222_54.txt | awk -F"" '{print $5}'
But I din't got .txt echoed in console. Pl. suggest a solution for this.
And also, for finding a specific... (1 Reply)
Discussion started by: IND123
1 Replies
8. UNIX for Dummies Questions & Answers
Hi everyone,
Can we know that which type of file is there without opening a file
thanks in advance....
kunal patil (3 Replies)
Discussion started by: kunalpatil09
3 Replies
9. UNIX for Dummies Questions & Answers
Hello, everyone! :]
I'm having an issue with my camera/uploading to Photobucket.
When my camera transfers it's photos to my hard drive, it transfers them as .JPG. Unfortunately, when I go to upload to my Photobucket account, it only accepts .jpg & .jpeg files. Every time I want to upload, I... (6 Replies)
Discussion started by: spidydude
6 Replies
10. Shell Programming and Scripting
Hi ALL,
I'm new to this forum.
Thanks and congrats to all for their great efforts building this site simply superb for all unix administrators.
My requirement is to remove extensions of the files in the current directory. I'm doing it using below script which is working but i think it is... (12 Replies)
Discussion started by: prvnrk
12 Replies