On Tue, Jan 29, 2002 at 02:49:27PM -0800, Harris, Jason wrote: > /usr/bin/X11/import -window root dump.bmp > > I've always wanted to do a date command, perl it up and make the filename of > the import results datestamped like dump29012002_143900.bmp. Is there > anyone out there that can do that in a perl-one-liner ? >
why not: /usr/bin/X11/import -window root "dump-$USER-`date +%d%m%Y_%H%M%S`.bmp" g
pgp4Ip1p7j9Su.pgp
Description: PGP signature