10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
i need Script to copy the contents of two files into one file
i have 2 fil X1.txt / X2.txt i need script to copy the contents of X1 and X2 In AllXfile
X1.txt
File X1
X2.txt
File X2
AllXfile.txt
File X1
File X2 (2 Replies)
Discussion started by: azzeddine2005
2 Replies
2. Shell Programming and Scripting
Hello Guys
I have a directory of xml files (almost 500 ) Now in each xml file 3 new attributes will be added which are in a different single file
Is there any way I can copy the whole content of single file at 6th line of all the files in the directory .
Thanks a lot!!! (7 Replies)
Discussion started by: Pratik4891
7 Replies
3. Homework & Coursework Questions
Hi
Guys , I am new to this and Hi to all ,Need your help
I am trying to copy Files which are inside file.txt
The files inside file.txt are inthe below order
file1.log
file2.log
file3.log
.......
I want to copy these files to an output Directory ,
Please help (1 Reply)
Discussion started by: hc17972
1 Replies
4. Homework & Coursework Questions
Hi
Guys , I am new to this and Hi to all ,Need your help
I am trying to copy Files which are inside file.txt
The files inside file.txt are inthe below order
file1.log
file2.log
file3.log
.......
I want to copy these files to an output Directory ,
Please help (1 Reply)
Discussion started by: hc17972
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
i am having a directory in which files are having space in the name .
$ls -1
aa b.txt
my file.pdf
lost file.csv
foo_file.txti want to copy those file to some where with date +%F as extension . But it failed for the file having space.
#!/bin/sh
ls -1 >tt
for var in `cat tt`
do
b=$var... (2 Replies)
Discussion started by: posix
2 Replies
6. Shell Programming and Scripting
I'm trying to copy a string (myame@yahoo.com) from multiple files and save them to a new file.
This is what's I've gathered so far:
sed 's/string/g' file.txt > output.txt
Not sure how to run this on multiple files and extract just the email address found in each file.
Any help would be... (2 Replies)
Discussion started by: rdell
2 Replies
7. Solaris
I have created a file that has list of all the files I want to copy into another directory.Is there a way to do it?
Thanks In advance (4 Replies)
Discussion started by: shreethik
4 Replies
8. Shell Programming and Scripting
Hi,
I would like to perform bash which would check the file A.txt to be size 0 or not. If the size is 0, I would copy file B.txt to replace A.txt.
Please help.
Thanks.
-Jason (6 Replies)
Discussion started by: ahjiefreak
6 Replies
9. Shell Programming and Scripting
Hello All,
I am given a file in which there are all the library files:
lib.txt:
/home/xyz/lib/*.jar
/home/abc/java/*.jar
/home/def/lib/a.jar
/home/def/lib/b.jar
...
My script should copy these files within lib.txt to current directory
script:
cd /home/$APP
Please help.
chiru (1 Reply)
Discussion started by: chiru_h
1 Replies
10. UNIX for Dummies Questions & Answers
Hi there
I am trying to find out what processes were running on my sun solaris 5.8 server yesterday.
There are no jobs running on the server which are monitoring/logging processes on the server.
Is there a way to find this out - is there an operating system log for processes?
Thanks in... (4 Replies)
Discussion started by: niamh
4 Replies