Microsoft
Software
Hardware
Network
Question : Montage, xargs and a sorted ls
Hi *,
I'm trying to produce a montage (with montage) of many images I have. However, if I do as follows
montage -tile 24x24 * index.png
They are inserted in the same order as ls ... which returns as the follows:
2
20
21
3
30
which I do not want, therefore I can use
ls | sort -n
to order my files correctly, however, how can I then pipe/pass this list into montage. I use xargs for other purposes such as
find . ...... | xargs rm.
It pipes each line separately which is perfect for my previous uses however I now need to pipe the whole list into montage so it can produce the image.
Any suggestions?
James
Answer : Montage, xargs and a sorted ls
Try
montage -tile 24x24
$(ls | sort -n)
index.png
wmp
Random Solutions
Quic Find/ Replace does not work in Microsoft Visual Studio 2008
VB.NET: problem of debugging on windows 7
jar encryption
HOW TO SORT MULT-DIM ARRAY IN PHP
Windows 7 imaging???
first time-Only: internet explorer cannot open the internet site operation failed
VLAN Configuring on a Powerconnect 5324
Best way to configure Syncback with a USB hard drive rotation
looking for TAPI CTI PBX emulator software to test TAPI compliant screen pop client
Office 2003 Clip Art not working