[prog] bulk re-naming of files
Wolf Rising
wolfrising at gmail.com
Thu Jan 27 10:11:42 EST 2005
Hi,
Thank you for responding, I don't know anything about Ruby :-)
Actually I don't know much
about perl, so if it would be possible to run php from the command
line to do the
conversion I would think I might understand that the best. I ran the
mysql select
command and copied that information into a txt file. I would guess the
steps might go
something to the effect of:
tell the script about the data file
declare p_code, s_code, and file name as variables
ask it to read from the data file
and when certain conditions are met, change the name of the file?
I'm not very good at programming :-) Actually, not very good is an
understatement :-)
On Wed, 26 Jan 2005 12:50:46 -0800, jennyw <jennyw at dangerousideas.com> wrote:
> On Tue, Jan 25, 2005 at 06:41:20PM -0500, Wolf Rising wrote:
> > Hi, I was wondering if anyone might be able to help out with a script,
> > maybe either php or perl to run from the command
> > line? I have a bunch of photographs that are stored in a database, if
>
> Both are possible. We could even write this in Ruby. ;-) Not that I'm trying to
> sell you anything ...
>
> Do you have an idea already about how you'd solve this problem? Is there a
> particular part of it that you're stuck on?
>
> Jen
> _______________________________________________
> Programming mailing list
> Programming at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/programming
>
More information about the Programming
mailing list