10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
A) I would like to achive following actions using shell script. can someone help me with writing the shell script
1) Go to some dir ( say /xyz/logs ) and then perform find operation in this dir and list of subdir using
find . -name "*" -print | xargs grep -li 1367A49001CP0162 >... (1 Reply)
Discussion started by: GG2
1 Replies
2. Shell Programming and Scripting
hi,
when i do ftp from unix to laptop which is running a windows os, it lands in a root folder.
can i move a file from this root ftp folder to any other location in my laptop
say , c:\files\ folder?
i used rename command inside ftp , but it says incorrect parameter. (5 Replies)
Discussion started by: Little
5 Replies
3. Shell Programming and Scripting
Hi friends,
I have one XML file having below structure :-
INput XML file :-
<?xml version="1.0" encoding="UTF-8"?>
<START>
<A=value1>
<attr name1="a1">
</A>
<B=value2>
<attr name2="b1">
<attr name3="c1">
</B>
</START>
output xml file should be
=== (3 Replies)
Discussion started by: harpal singh
3 Replies
4. Shell Programming and Scripting
Hi Guys,
I need to write a script that will loop on all of my oracle databases on a server and move archivelogs from archive destination to a different location.
I do have a function to loop on all databases on a server. I want help in writing a fuction to dynamically get the archive... (1 Reply)
Discussion started by: Phuti
1 Replies
5. Shell Programming and Scripting
Hi Experts,
I am using below script and facing some problems..
cd /home/user/test
rm ftp://ftp.log
Example: A_Bachfile_09292011.txt
A=`ls -1 "A*.txt"`
compress $A
C=`ls -1 "A*`
hostname="test.gmail.com"
user="raju"
Password="******"
ftp -n $hostname <<EOF >>ftp.lpg... (4 Replies)
Discussion started by: rajubollas
4 Replies
6. UNIX for Dummies Questions & Answers
There are two similar directory structures existing, e.g. old/ and new/, where
old/d1/d2/d4/, old/d1/d2/d5/, old/d1/d3/d6/ and old/d1/d3/d7 contains some files and now I want to move those files from each folder to new locations new/d1/d2/d4/, new/d1/d2/d5/, new/d1/d3/d6/ and new/d1/d3/d6/.
The... (1 Reply)
Discussion started by: abkush
1 Replies
7. Shell Programming and Scripting
Create a script that copies files from one specified directory to another specified directory, in the order they were created in the original directory between specified times. Copy the files at a specified interval. (2 Replies)
Discussion started by: allways4u21
2 Replies
8. Shell Programming and Scripting
Hi,
i have to transfer of files of User1 located in Location1 to user2 located in Location2 using shell script. Please suggest me. (1 Reply)
Discussion started by: KiranKumarKarre
1 Replies
9. UNIX for Advanced & Expert Users
I need help in forming a script to copy files from one location which has a sub directory structure to another location with similar sub directory structure,
say location 1,
/home/rick/tmp_files/1-12/00-25/
here 1-12 are the number of sub directories under tmp_files and 00-25 are sub... (1 Reply)
Discussion started by: pharos467
1 Replies
10. UNIX for Advanced & Expert Users
Hi all,
I have installed an application (RRDTool) in /usr/local directory, Can any one tell me how I can move this to some other location along with the libraries.
Thanks in Advance. (3 Replies)
Discussion started by: KK Varma
3 Replies