Search Results

Search: Posts Made By: murari83.ds
4,013
Posted By murari83.ds
PROJ_NAME=dw_icon
PROJ_NAME=dw_icon
4,013
Posted By murari83.ds
Create a directory when its non-existent
Hi
I need to create a directory when its non-existent
Having an issue with the code here because it doesn't work
can someone point what and how to change, please.

---------- Post updated at...
2,412
Posted By murari83.ds
How to move the older than 30 file to another ftp server
Hi All
I need to move the older than 30 days file to another ftp server. I have source structure like this
Files folder
Folder1
Folder2
Folder3
I need to create same Target structure and I...
4,059
Posted By murari83.ds
Thanks Aashish for the replay I wrote the...
Thanks Aashish for the replay

I wrote the scipt as below:
#!/bin/ksh
set -x
ArchFiles_ftp_put()
{
/usr/bin/ftp -v -n << EOF > ${FTP_LOG_FILE}
open ${ARCH_SERVER}
...
4,059
Posted By murari83.ds
as per the above code i am getting error as can...
as per the above code i am getting error as can not open the file

archive_file.ksh[9]: : cannot open
+ echo test_sample.txt
+ 1>> file_list
+ ArchFiles_ftp_put test_sample.txt

----------...
4,059
Posted By murari83.ds
Thanks zaxxon for the qick respose.... I...
Thanks zaxxon for the qick respose....

I have one more question

When I doing the less than 30 day of file. so I am getting the multiple files.

I need to iterate the loop can you help on this...
4,059
Posted By murari83.ds
as per you note i have include the +30 echo...
as per you note i have include the +30

echo ${FILE##*/} >> file_list

based on the above code we will get only file name.
but when i am calling ftp function i getting file name along with...
4,059
Posted By murari83.ds
yes i need to cut off form the path
yes i need to cut off form the path
4,059
Posted By murari83.ds
How archive the older than 30 day files to another unix server
I need to archive the older than 30 day file to another uinx server.I have wrote the below uinx script.

for LOOK_DIR in /TempFiles
do
for FILE in `find ${LOOK_DIR} -mtime -30 -exec ls {}...
3,355
Posted By murari83.ds
Actually I need to convert file name...
Actually I need to convert file name (sample.xls) to “|” delimiter format
Could you please update me the script
3,355
Posted By murari83.ds
Input data A|"B,C"|D|E current script...
Input data
A|"B,C"|D|E

current script converting
A|B|C|D|E

I required
A|B C|D|E

Let me the any idea
3,355
Posted By murari83.ds
Converting excel to '|' delimiter
Hi All,


Can you please suggest me how to convert excel format to ‘|' delimiter file. I need to use perl script
Thanks
Rama
2,137
Posted By murari83.ds
Hi kshji, sorry for the confusion I...
Hi kshji,

sorry for the confusion

I have tested the above script

I have one problem

Suppose i have recived file like

201005_FIRST_LAST_20110512.xls

I need to populate target like...
2,137
Posted By murari83.ds
Hi kshji, I have tested the above script ...
Hi kshji,

I have tested the above script

I have one problem

Suppose i have recived file like

201005_FIRST_LAST_20110512.xls

I need to populate target like
FIRST_LAST.xls

The...
2,137
Posted By murari83.ds
Rename the files with .xls file
Hi
I need to reanme the multiple file using unix script
I have multiple file
like:
201005_SAMPLE_20110512.xls
201005_NAME_20110512.xls
201005_TEST_20110512.xls
201005_FIRST_LAST_20110512.xls...
2,904
Posted By murari83.ds
modification source fole format I have...
modification source fole format

I have receive the file below format

2010_simple_test_20100912.xls
2010_information_new_20100912.xls

I need to rename the above two file in below format
...
2,904
Posted By murari83.ds
rename "_[0-9]*" "" *.xls can you please...
rename "_[0-9]*" "" *.xls

can you please explace above post where i need to use this
2,904
Posted By murari83.ds
Rename the multiple files
Hi

I need to reanme the multiple file using unix script

I have multiple file

like:
sample_YYYYMMDD.xls
test new_YYYYMMDD.xls
simple_YYYYMMDD.xls

I need to rename this file...
Showing results 1 to 18 of 18

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