Computing.Net > Forums > Programming > adding keywords to jpg files?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

adding keywords to jpg files?

Reply to Message Icon

Name: Quakester
Date: July 30, 2006 at 07:43:24 Pacific
OS: win XP pro
CPU/Ram: P4 2.4 / 1G RAM
Product: none
Comment:

I whould love to make a batch file for windows and another for macosx ( some unix batch file )
where it will add keywords to each jpg that i have on a cd while copying from the cd to a folder on any windows pc or mac.
I have over 1200 photos scanned so far I being adding keywords with iphoto manually but I whould love make a bat file compatible with this 2 oses I know i might have do 2 batch files 1 for pc another for mac.

The idea is

copy D:\folder\photo001.jpg c:\folder\
rename c:\folder\photo001.jpg
add keyword to c:\folder\photo001.jpg

I know how to do the copy and rename on both systems but I don't know how to tell the pc or mac to add the keyword ( some pictures have lots keywords )

I hope I explained myself well
thanks in advance



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: July 30, 2006 at 11:34:00 Pacific
Reply:

echo keyword >> c:\folder\photo001.jpg


=====================================
If at first you don't succeed, you're about average.

M2



0

Response Number 2
Name: Quakester
Date: July 31, 2006 at 05:10:13 Pacific
Reply:

I don't know how to add a keyword doesn't work
on msdos xp


0

Response Number 3
Name: Shr0Om
Date: August 1, 2006 at 00:00:10 Pacific
Reply:

I cant help you with unix scripts, but here's a batch for windows.

It will copy every jpg file on d: and add the keyword "something" to the filename.


::-----CODE-----
@echo off
set keyword=something
d:
for %%i in (*.txt) do copy %%i c:\%keyword%-%%i
::-----CODE-----


0

Response Number 4
Name: Mechanix2Go
Date: August 1, 2006 at 03:38:16 Pacific
Reply:

"I don't know how to add a keyword doesn't work
on msdos xp"

The code I posted will work in DOS or XP.

Dunno about Mac/unix.


=====================================
If at first you don't succeed, you're about average.

M2



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: adding keywords to jpg files?

Adding date to all files ina folder www.computing.net/answers/programming/adding-date-to-all-files-ina-folder/16701.html

rename adding prefix to all files www.computing.net/answers/programming/rename-adding-prefix-to-all-files/17546.html

Batch to move file by sysdate www.computing.net/answers/programming/batch-to-move-file-by-sysdate/14939.html