Thanks for the reply.
Is there a way to put a validation in the linux script which will do the following,
Quote:
find $sourcepath/*datevalue_filename* -type f -newer /tmp/start -not -newer /tmp/end > $destinationpath/wcc_cpmg_nt_bus_gs.txt
|
In the below FOR Loop, is there a way to put a logic to check whether the file
*datevalue_filename* already exists in the destinationpath.
Quote:
for name in `cat $destinationpath/wcc_cpmg_nt_bus_gs.txt`
do
cp $name $COMMON_INBOX
echo $name;
done
|
If the date_filename is available, we shouldnt copy the file again.
Thanks Much,
Freddie