-   Linux - Software (
-   -   Automatically Add date to .gif (

joborohe 11-09-2009 11:24 AM

Automatically Add date to .gif

What Im looking for is a script that would automatically add a date to a .gif, which I can run daily as a cron job. I don't know perl very well, but It seems that Perl & Gimp might be a way to get the job done. Any help is greatly appreciated.

pixellany 11-09-2009 12:05 PM

Do you mean add the date to the filename?

Suppose name=filename

cp $name "$name"$(date +_%m_%d)
Creates file named "filename_11_09"

arizonagroovejet 11-15-2009 02:52 PM

If you want to have the date as part of the image then look at ImageMagick. If you don't have it installed then it's in your repos.

The way to do it is probably to create an image containing today's date and then composite that over the .gif you refer to.

All times are GMT -5. The time now is 04:21 AM.