Search Results

Search: Posts Made By: asmfloyd
1,419
Posted By asmfloyd
Issue on sorting
Hi,
I have a file which has data as
path/1.xml path/2.xml,...(each in separate lines)

I want to sort this file in order. It is not working when I give
"sort filename"
The number of "/" in...
3,530
Posted By asmfloyd
Thanks friends
Thanks friends
3,530
Posted By asmfloyd
Hi Scott, It does not print anything for...
Hi Scott,
It does not print anything for me.It just come out of the shell. My filenames are like file1.xml,file2.xml,...
Also I tried echo ${b##*/}. That also does nothing.Bad luck..
3,530
Posted By asmfloyd
How to get the last field of a string(pattern)?
b= find =/home/root/dir1/*.xml | xargs grep '</XML>' | cut -d ":" -f1 | uniq

From a folder that has many files, I am trying to get the filename which has </XML> in it using the above command. But...
2,383
Posted By asmfloyd
For sftp
Hi,
I am using sftp to connect to a remote machince (from my unix machine) and placing some files over there.I need to automate this process with a shell script.I am using KShell.
Currently I am...
5,870
Posted By asmfloyd
Hi, I got the same when I tried for i...
Hi,
I got the same when I tried

for i in path/aa* ; do mv $i `basename $i .out dd`_`date +"%Y%m%d"`.out ; done ;

Thanks
Floyd
5,870
Posted By asmfloyd
Renaming Files using Shell Script
Hi Gurus,
I have some files(all ending with .out as extension).
Ex:
aa1.out
aa2.out
aa3.out

I would like to append each file with the current date to the end of the file so that they should...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 05:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy