10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
The bash will trim the folder to trim folder. Within each of the folders (there may be more than 1) and the format is always the same, are several .bam and matching .bam.bai files (file structure) and the bashunder that executes and trims the .bam as expected but repeats the.bam.bai extentions... (9 Replies)
Discussion started by: cmccabe
9 Replies
2. Shell Programming and Scripting
Dear Experts
my scenario is as follows...
I have one source folder "Source" and 2 target folders "Target_123456" & "Target_789101". I have 2 series of files. 123456 series and 789101 series. Each series has got 3 types of fiels "Debit", "Refund", "Claims".
All files are getting... (17 Replies)
Discussion started by: phani333
17 Replies
3. Shell Programming and Scripting
Hi,
I am looking for a shell script which move .300 extension files from /home/sofia/ to /home/sofia/test and sends me an email with the list of files moved like this :-
The following files has been moved from /home/sofia/ to /home/sofia/test
1. alpha.300
2. beta.300
Email only if the... (4 Replies)
Discussion started by: sofia8679
4 Replies
4. 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
5. Shell Programming and Scripting
I am trying to get the full path of the target of a symlink.
root@server # ll /usr/src/sourcefile
lrwxrwxrwx 1 root root 13 Jan 21 00:56 /usr/src/sourcefile -> ../targetfile
root@server # readlink /usr/src/sourcefile
../targetfile
I need readlink output as /usr/targetfile. If with... (1 Reply)
Discussion started by: anil510
1 Replies
6. Shell Programming and Scripting
Hi All,
I am trying to rename the extension of a set of file from .txt to .xtx. When I run the following script,
#!/bin/sh
l=`ls /f`
for f in $l
do "mv $f ${f%.txt}.xtx" ;
done
a file such as 1.txt is renamed to 1? where ? is a strange character. Could you please help me fix the code... (3 Replies)
Discussion started by: sara123
3 Replies
7. Solaris
Installing Solaris x86 using jumpstart does not set the hostname for the target. Any idea where do we need to specify hostname to be set for jumpstart installation. (1 Reply)
Discussion started by: hemalsid
1 Replies
8. Shell Programming and Scripting
Hi,
First off I'm pretty new to scripting so please be gentle.
I am looking for some help with a script that will move all files with a certain extension into a folder within their current location.
Just for clarity I have all my photos organised in directories such as:
... (4 Replies)
Discussion started by: guinch
4 Replies
9. Shell Programming and Scripting
Hi Experts,
need one help.. m writing a shell script for which i need the entire path of the file but without its extension.
running the below script gives error at the statement DIR = `dirname $FILE` --command not found.
#!/bin/bash
jar xvf *jar
for FILE in `find . -name "*.class"`
... (3 Replies)
Discussion started by: amicableperson
3 Replies
10. UNIX for Dummies Questions & Answers
Hi Everyone!!!
Is there any command to move/copy set of files in a specific range.
Eg :
I have 800 text files in a directory
A1 ... A800
I would like to copy only files in range A40 ... A250.
I can acheive this using a "for" loop , but I guess there could be some command or... (8 Replies)
Discussion started by: joey_reddy
8 Replies