I am creating image sprites and have neatly named around 100 files. I am using the following to generate an image sprite from individual images:
convert $(ls -w 1000) +append sprite.png
I have just noticed that Nautilus 3.4.2 sorts by name differently from ls.
Is there a way to get ls to use the same ordering as Nautilus (and not the other way around)?
Example
Nautilus order:
- cloudy_with_heavy_rain.png
- cloudy_with_heavy_rain_night.png
ls order:
- cloudy_with_heavy_rain_night.png
- cloudy_with_heavy_rain.png