@Chintan_Gohel, given you want to do a lot of this, I recommend two things:
1. Get one of the command line image programs, like gmic or Imagemagick
2. Learn enough scripting in the operating system to run the command line program over your images.
The command line programs offer a more straightforward way to apply edits. Scripting can be daunting, but there's a particular pattern that is useful, goes like this:
[collect list of images]
foreach image in list:
[do the command line]
@Morgan_Hardwood gives the essence of it in bash, here's the equivalent in Windows cmd shell using gmic and -crop:
for %%F in (*.jpg) do (
gmic %%F -crop !x0!,!y0,!,!x1!,!y1! -output foo/%%F
set /A x0=x0+2
set /A y0=y1+2
set /A x1=x1-2
set /A y1=y1-2
Gah, had to look up about a dozen things to get the above to work, windows cmd shell is a pain. For instance, !x0! says, 'evaluate x0 when you use it, not when the program starts - Really???? Oh, I used variable names consistent with the gmic command reference, and foo/ is a subdirectory under the current directory where the output images go.
A little complicated, but, it does your thing. Save the script; you can put all sorts of gmic (or imagemagick, etc.) things in it...