Go Back   The macosxhints Forums > Working with OS X > OS Xperiences



Reply
 
Thread Tools Rate Thread Display Modes
Old 12-03-2007, 03:11 PM   #1
bobByron
Registered User
 
Join Date: Dec 2007
Posts: 1
how to remove file extension

I have Mac OSX 10.4.10

I need to override the system's need to add an extension to every file.

What's happening is, I'm saving thousands of .jpg files with a macro in photoshop without the .jpg extension. They show on the desktop as files without an extension, but they load onto our FTP site with an extension.

If I do a command-i, under name & file extension, it shows the file with the .jpg extension. If I remove the .jpg extension in the command-i window, it WILL load on the FTP site without the .jpg extension, which is what I want. But, I'd rather not do that for the thousands of jpg files I deal with monthly.

Any ideas?
bobByron is offline   Reply With Quote
Old 12-03-2007, 03:14 PM   #2
bobByron
Registered User
 
Join Date: Dec 2007
Posts: 1
extension

I have Mac OSX 10.4.10

I need to override the system's need to add an extension to every file.

What's happening is, I'm saving thousands of .jpg files with a macro in photoshop without the .jpg extension. They show on the desktop as files without an extension, but they load onto our FTP site with an extension.

If I do a command-i, under name & file extension, it shows the file with the .jpg extension. If I remove the .jpg extension in the command-i window, it WILL load on the FTP site without the .jpg extension, which is what I want. But, I'd rather not do that for the thousands of jpg files I deal with monthly.

Any ideas?
bobByron is offline   Reply With Quote
Old 12-03-2007, 03:44 PM   #3
trevor
Moderator
 
Join Date: Jun 2003
Location: Boulder, CO USA
Posts: 19,847
Quote:
What's happening is, I'm saving thousands of .jpg files with a macro in photoshop without the .jpg extension.

I miss OS 9 and previous' metadata handling too. It was great--elegant and wonderful. But it's time to give it up. You and I have lost the metadata battle, and we need to use three letter extensions.

Rewrite your macro to include the .jpg extension and be done with it.

Quote:
They show on the desktop as files without an extension, but they load onto our FTP site with an extension.

If I do a command-i, under name & file extension, it shows the file with the .jpg extension.

This sounds like you're just hiding the .jpg extension in OS X, not that it is actually missing. The Command-I Get Info window is showing you the real name. So it sounds like your macro ALREADY includes the .jpg extension, but you have your computer set to not show it to you.

In OS X 10.4 Tiger, this is set in Finder > Preferences > Advanced > Check the box next to "Show all file extensions".

Trevor
trevor is offline   Reply With Quote
Old 12-03-2007, 04:19 PM   #4
Photek
Hall of Famer
 
Join Date: Feb 2005
Location: Warwick, UK
Posts: 4,835
Automator might be worth a shot...

finder - rename finder items - replace text - remove .jpg with nothing.
Photek is offline   Reply With Quote
Old 12-03-2007, 04:57 PM   #5
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,464
bobByron:
I merged your two threads into this one
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 10:57 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.