Hi All,
I'm using Ksh 88 version.
I'm trying to remove the files using the below script .The code is working fine but i'm getting override protection 644 (yes/no)?
message for every file .. Pelase suggest
#!/usr/bin/ksh
set -x
File_Path="/etc/home/logs"
Dest_Path="/etc/home/temp"
days=60
file_nm="xx"
find $File_Path/*$file_nm* -type f -atime +$days -exec mv {} $Dest_Path \;
echo "Deleted The Files"
Upon executing the above script I'm getting the following Message. How can i avoid this message as I need to say "y" for all the files
mv: /etc/home/temp/xx11: override protection 644 (yes/no)?
please suggest me how can I avoid that message .
Thank You