.DS_Store known as Desktop Services Store, is used by Finder to store personal preference such as icon position and so on. It is good that Apple keep the preference locally by using .DS_Store but sometimes it might be annoying.
- rearrange icon in your
Picturefolder - use Terminal to delete the
.DS_Storefile inPicturefolder - relaunch
Finderservice usingkillall -KILL Findercommand which will forceFinderto reload.DS_Store - you will notice the rearrangement that you did is gone
Sometimes, you may find
.DS_Storefile kind of annoying especially when usinggit, refer to this to disable.DS_Storefile generating.