I honestly cannot do this.
The information may be very helpful, but I can't actually bring myself to read it.
My brain just isn't working right now, and I can't be bothered reading it.
hey I am providing you the below skeleton of your requirement, going forward please modify it as per your requirement
no_param=$#
if [ ${no_param} -ne 1 ]
then
echo "Please execute the script with i/p as i(single) or a(all),"
echo "`basenmae $0` i or a "
exit 1
fi
case $1
in
"a") for i in $(ls -1 <input dir>| grep -v "^\.")
do
mv <input dir>/$i <destination dir>
done
;;
"i") echo "please type the file you want to move"
read input_file
if [ ! -f "<input dir>/${input_file}" ]
then
echo "${input_file} doesn't exist."
exit 1
else
mv <input dir>/${input_file} <destination dir>
fi
;;
*) echo "please enter your input correctly."
exit 1
;;
esac