Can anyone help me finding solution to my requirement.
the requirement is I have to write a shell script which will scan a directory and read each file coming to it and will search for a string starts with (like "AB00732614") It will search for all files which contains AB* then it will move the file to another directory.
mv dir1/AB* dir2?