10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi All, Any one answer my requirement.
I have source location
src_dir="/home/oracle/arun/IRMS-CM"
My Target location
dest_dir="/home/oracle/arun/LiveLink/IRMS-CM/$dc/$pc/$ct"
my source text files check with below example.text file content
$fn "\t" $dc "\t" $pc "\t" ... (3 Replies)
Discussion started by: sravanreddy
3 Replies
2. Shell Programming and Scripting
Hi,
I need to exlucde the files which are present in exclude.txt from a directory
exlcude.txt
AUZ.txt
AUZ.chk
NZ.txt
NZ.chk
tried with below code but not working
ls -ltr | grep -v `cat exclude.lst` (9 Replies)
Discussion started by: rohit_shinez
9 Replies
3. Shell Programming and Scripting
I am new to Shell Scripting and need some help.
The following batch job has been failing for me due to the .nfsxxx files in use. I need to know how to modify the following script to exclude the .nfsxxx files so this batch job will not fail on me. I have done lots of googling and keep coming back... (2 Replies)
Discussion started by: kimberlyg2007
2 Replies
4. Shell Programming and Scripting
Hi, I have a software install in a directory, says "/opt/tibco".
If I want to remove all the things in this directory and its sub-directories, but exclude all log files (*.log in different directories) and keep empty directories exist.
What should my command look like? I have no idea on how... (2 Replies)
Discussion started by: dirkaulo
2 Replies
5. Shell Programming and Scripting
I want to use the find command to copy files that contain 2012 from one directory to another. I tried
find /Volumes/movies1 -name "*.2012.*" -exec cp -nRv "{}" /Volumes/pdrive/ \; (2 Replies)
Discussion started by: codecaine
2 Replies
6. UNIX for Dummies Questions & Answers
hey all,
i have a unix computer and a windows os computer connected in the same local network
i want to copy the etc folder to the windows computer so if my unix computer's hard disk rashes i can restore it from my windows computer.
my first problem is i'm kinda lame with unix...i know... (3 Replies)
Discussion started by: shwinky
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
we have file name appended by date in yymmdd format .. ex: abc090101.dat
I need to copy all the files between abc090101 to abc090331..
could you plz help me..
Thanks. (1 Reply)
Discussion started by: kolariya4u
1 Replies
8. UNIX for Dummies Questions & Answers
If I execute the command "ls -l /export/home/abcde/dev/proj/code/* | awk -F' ' '{print $9}' | cut -d'/' -f6-8" it will list all the files in /export/home/abcde/dev/proj/code/ directory as well as the files in subdirectories also
proj/code/test.sh
proj/code/test1.c
proj/code/unix... (8 Replies)
Discussion started by: shyjuezy
8 Replies
9. Shell Programming and Scripting
This is my first post, so first I'd like to say hello to everyone.
Here's the issue I'm having...I run a macro against multiple log files every morning. The procedure is sort of time consuming. I have to log into the box where there are stored, then ftp/download them to my local drive using... (3 Replies)
Discussion started by: jhofilena
3 Replies
10. UNIX for Dummies Questions & Answers
Hello,
i have a directory;say /home/pavi
i has some files and every day files keep adding to it.
i am writing a shell script which copies all the files from this
directory to another.say /home/tom/tmp
how do i copy all the files from /home/pavi to /home/tom/tmp
all the files in the... (1 Reply)
Discussion started by: pavan_test
1 Replies