Search Results

Search: Posts Made By: dssyadav
1,681
Posted By dssyadav
Look for a file,if not found wait and look again
Hi All, i have a requirement
I created a file list as below :


more abc_file_list.txt

Rem_DD.csv
Rem_Non.csv
Rem_Ld.csv
CC_Ld_Non_IRA.csv ...

Above are the 4 files (For now ,we dont...
2,371
Posted By dssyadav
Yes..need to replace the file name
Yes..need to replace the file name
2,371
Posted By dssyadav
Extract value between the delimiters and replace it with another value
Hi All,

i have file name like below
ABC_065224_123456_123456_your_130413_163005.txt
ABC_065224_123456_MAIN_20130413_163005.txt
ABC_065224_123456_123456_MAIN_130413_163005.txt...
8,682
Posted By dssyadav
Zip all files in a directory and move to another directory
Hi,
need to zip all files in a directory and move to another directory after the zip..

i am using this one but didnt help me...

zip -r my_proj_`date +%Y%m%d%H%MS`.zip /path/my_proj
mv...
2,294
Posted By dssyadav
This is arching all the files inside the archival...
This is arching all the files inside the archival directory
2,294
Posted By dssyadav
mv /source_dir/* /archival_path/; gzip...
mv /source_dir/* /archival_path/; gzip /archival_path/ &
...with this i am able to move all files but i am unable to compress them..


Please use code tags...
2,294
Posted By dssyadav
Moving all files in a directory to another directory and archiving them
Hi All,

i need to move all files in a directory to some other directory and need to archive them,,,

Ex.. Source_Path/my_directory/
files in it are... acw.csv
123.txt
bge.dat etc ..and we...
10,254
Posted By dssyadav
Thank you all,
Thank you all,
10,254
Posted By dssyadav
look for file size greater than "0" of specific pattern and move those to another directory
Hi ,
i have some files of specific pattern ...i need to look for files which are having size greater than zero and move those files to another directory..

Ex...
abc_0702,
abc_0709,
abc_782...
1,325
Posted By dssyadav
Thanks a lot... its working fine...
Thanks a lot...

its working fine...
815
Posted By dssyadav
Find and replace
Hi ,
i have a file with some data and i need replace a perticular value with some other value from another another file
req:
file1.txt
abc,idle.txt,1234

file2.txt
5678

now the requirement...
1,325
Posted By dssyadav
Find a value inside file1 and replace it with another value from another fileB
i have a file with some data and i need replace a perticular value with some other value from another another file
req:
file1.txt
abc,idle.txt,1234

file2.txt
5678

now the requirement is...
3,137
Posted By dssyadav
Hi Jay, sorry ... only these 3 strings ,...
Hi Jay,
sorry ...

only these 3 strings , but each time only one string will be found and it can be found any of the line ..if we found ..the postion of string is always 17th cahracter postion...
3,137
Posted By dssyadav
Hi Athix, the record position can be any...
Hi Athix,
the record position can be any where(not the 5th line each time) ...but the string length is always 4 characters..but if string exist it will be from 17th position from start of the line...
3,137
Posted By dssyadav
@Spacebar.. we dont know which one will be in...
@Spacebar..
we dont know which one will be in the file ..it is either A756 or B234 or C987
3,137
Posted By dssyadav
look for specific values in a file and rename file with value found
Hi,
i have a file with some data ..look for some specific value in the file and if found that value rename the file with the value found in the file..
ex..
File.txt
1236 43715825601ANDERSSON, ...
1,345
Posted By dssyadav
after the job run there will be no file in...
after the job run there will be no file in working directory...so we need to check for the file in working directory before moving file from source ...
1,345
Posted By dssyadav
check for file existance and generate exit code amd move to another directory
Hi..
i have a file ABC_*.txt in source directory which will come evry 30 min and same file will be moved to working directory first time ...and will perform some operations then we archive...
2,642
Posted By dssyadav
Hi Scrutinizer , it s moving the files names to...
Hi Scrutinizer , it s moving the files names to other locations but when i open the file to view data it is saying no such file or directory

---------- Post updated at 02:13 PM ---------- Previous...
2,642
Posted By dssyadav
sorry..there is small mistake in the question.. ...
sorry..there is small mistake in the question..
abc|1|bcd.dat
123 david123
123 rudy2345
124 tinku5634
abc|2|def.dat
123 jevid123
123 qwer2345
124 ghjlk5634
abc|3|pqr.txt
123 vbjnnjh435
123...
2,642
Posted By dssyadav
Extracts files names and write those to another file in different directory
Hi , Need to shell script to extracts files names and write those to another file in different directory.

input file is
inputfile.txt
abc|1|bcd.dat
123 david123
123 rudy2345
124 tinku5634...
1,272
Posted By dssyadav
"Search for files in a file and write these files to another file which sould be in some other direc
Hi , Need to shell script to extracts files names and write those to another file in different directory.

input file is
inputfile.txt
abc|1|bcd.dat
123 david123
123 rudy2345
124 tinku5634...
Showing results 1 to 22 of 22

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