i am looking for a way to create a password protected file in Shell with same password instead of random password since we need to ftp the file to 3rd party hence we dont need the password to be changed every time , Below is my sample code snipet ,
echo "STORE,CUSTOMER,START TIME,END TIME" > $dir/output/ORDER.csv
cat $dir/output/ORDER.del >> $dir/output/ORDER.csv
rm -f $dir/output/ORDER.del
I need the file ORDER.csv to be password protected and lets say its 1234 every time.