Nudge all tiles in a tilemap in a specific direction

If you open the .tilemap in a texteditor you will see it is a simple format and writing a script to do what you want should be fairly easy.