RE: System for naming graphics files

Subject: RE: System for naming graphics files
From: "Dan Goldstein" <DGoldstein -at- riverainmedical -dot- com>
To: <techwr-l -at- lists -dot- techwr-l -dot- com>
Date: Thu, 15 Jan 2009 15:17:30 -0500

The following command at the command prompt adds the current date to all
jpg files in the current directory that begin with "pic":

ren pic*.jpg "pic*%date:/=%.jpg"

So:

pic_pretty_sunset.jpg
becomes
pic_pretty_sunset.jpgThu 011509.jpg

pic_ugly_politician.jpg
becomes
pic_ugly_politician.jpgThu 011509.jpg

How could we turn that MMDDYY into YYYYMMDD, as David suggests below?

> -----Original Message-----
> From:
> techwr-l-bounces+dgoldstein=riverainmedical -dot- com -at- lists -dot- techwr-l
.com [mailto:techwr-l->
bounces+dgoldstein=riverainmedical -dot- com -at- lists -dot- techwr-l -dot- com] On
> Behalf Of Fred Ridder
> Sent: Thursday, January 15, 2009 2:33 PM
> To: daviddowning -at- users -dot- com; straylightsghost -at- gmail -dot- com
> Cc: techwr-l -at- lists -dot- techwr-l -dot- com
> Subject: RE: System for naming graphics files
>
> Or use the date convention that automatically sorts just the
> way you really would want it to: YYMMDD That way, you won't
> have January 2008 intermingled with January 2009; all the 08s
> will be together and separate from all the 09s.
>

This message contains confidential information intended only for the use of the addressee(s). If you are not the addressee, or the person responsible for delivering it to the addressee, you are hereby notified that reading, disseminating, distributing, copying, electronic storing or the taking of any action in reliance on the contents of this message is strictly prohibited. If you have received this message by mistake, please notify us, by replying to the sender, and delete the original message immediately thereafter. Thank you.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ComponentOne Doc-To-Help 2009 is your all-in-one authoring and publishing
solution. Author in Doc-To-Help's XML-based editor, Microsoft Word or
HTML and publish to the Web, Help systems or printed manuals.
http://www.doctohelp.com

Help & Manual 5: The complete help authoring tool for individual
authors and teams. Professional power, intuitive interface. Write
once, publish to 8 formats. Multi-user authoring and version control! http://www.helpandmanual.com/

---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit http://lists.techwr-l.com/mailman/options/techwr-l/archive%40web.techwr-l.com


To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/ for more resources and info.

Please move off-topic discussions to the Chat list, at:
http://lists.techwr-l.com/mailman/listinfo/techwr-l-chat


Follow-Ups:

References:
System for naming graphics files: From: Downing, David
Re: System for naming graphics files: From: CL T
RE: System for naming graphics files: From: Downing, David
RE: System for naming graphics files: From: Fred Ridder

Previous by Author: RE: [stclwrsig-l] It has been one of those days (cross-posted)
Next by Author: Wordless at O*NET
Previous by Thread: groff/troff
Next by Thread: RE: System for naming graphics files


What this post helpful? Share it with friends and colleagues:

Sponsored Ads


Sponsored Ads