John Mort wrote:
[snip]
> 
> I was wondering if there was a way to do this so that it would instead
> call them day001.png, day002.png, day003.png, etc?  I don't know yet

Use the "printf" program:

    i=9; cp sourcefile.png $(printf 'day%02d.png' $i)

Works just like C's printf only from the shell.

> if mencoder is going to count "1, 10, 11, 12, ... , 19, 2, 20, 21,
> ..." or not, but I know that sometimes it's useful to have things
> spaced out this way and I'd like to know how to do it, just haven't
> found anything that tells me how to do it in bash yet.  Any
> suggestions?
> 
> -- 
> John D. Mort
> http://john.mort.net
> _______________________________________________
> Mid-Hudson Valley Linux Users Group                  http://mhvlug.org        
>      
> http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug                           
> Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium        
>                                 
>   Dec 5 - Open Source Show and Tell
>   Jan 2 - TBD
>   Feb 6 - DBUS
>   Mar 5 - Setting up a platform-independent home/small office network using 
> Linux
> 


=============================================================================
michaelMuller = [EMAIL PROTECTED] | http://www.mindhog.net/~mmuller
-----------------------------------------------------------------------------
Government, like dress, is the badge of lost innocence; the palaces of kings
are built on the ruins of the bowers of paradise. - Thomas Paine
=============================================================================
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org          
   
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug                           
Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium          
                              
  Dec 5 - Open Source Show and Tell
  Jan 2 - TBD
  Feb 6 - DBUS
  Mar 5 - Setting up a platform-independent home/small office network using 
Linux

Reply via email to