Changing file Name
Hello,
I need to change the file name for images I am using in a website I am building with iWeb. The file names for the images cannot include any special characters. I have tried to change the file name as suggested through iPhoto Help. It seems to work but when I use the image in my site, the file information is still the old file name. I have also tried dragging the image to my desktop, then changing the file name through the file's information page, then importing it back into iPhoto and or just dragging it onto the web page I am creating and every time the file name reverts back to the original. Help please
I painstakingly renamed a group of photo files in iPhoto9, changing titles on each of the 85 images to a numeric string (001 thru 085), to get them to display consecutively.
Never noticed the Photos -> Batch Change command?
EVERY time I burn to a disk, POOF!, each individual image reverts to its original file name (either the original name created in the camera, or the original names on images a colleague e-mailed).
It doesn't "revert". A title is not a filename.
What you need to do is select the pics in the iPhoto Window and the go File -> Export. IN the resulting dialogue look at the bottom and note the File Name option: from the dropdown select 'Use Title'
That'll do what you want.
Regards
TD
Similar Messages
-
Change file name with oreilly servlet
I am using oreilly servlet package and I want to change the file name to the file I am uploading, is this possible ?
How ?
Thanks.
here I post the servlet code:
package com.reducativa.sitio.servlets;
* DemoParserUploadServlet.java
* Example servlet to handle file uploads using MultipartParser for
* decoding the incoming multipart/form-data stream
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import com.oreilly.servlet.multipart.*;
public class DemoParserUploadServlet extends HttpServlet {
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
PrintWriter out = response.getWriter();
response.setContentType("text/plain");
out.println("Demo Parser Upload Servlet");
File dir = new File("f:/");
if (! dir.isDirectory()) {
throw new ServletException("Supplied uploadDir " + "f:/ " +
" is invalid");
try {
MultipartParser mp = new MultipartParser(request, 10*1024*1024); // 10MB
Part part;
while ((part = mp.readNextPart()) != null) {
String name = part.getName();
if (part.isParam()) {
// it's a parameter part
ParamPart paramPart = (ParamPart) part;
String value = paramPart.getStringValue();
out.println("param; name=" + name + ", value=" + value);
else if (part.isFile()) {
// it's a file part
FilePart filePart = (FilePart) part;
String fileName = filePart.getFileName();
if (fileName != null) {
// the part actually contained a file
long size = filePart.writeTo(dir);
out.println("file; name=" + name + "; filename=" + fileName +
", filePath=" + filePart.getFilePath() +
", content type=" + filePart.getContentType() +
", size=" + size);
else {
// the field did not contain a file
out.println("file; name=" + name + "; EMPTY");
out.flush();
catch (IOException lEx) {
this.getServletContext().log("error reading or saving file");
}Hi there,
I am facing the same problem that you have stated in your Feb 26, 2002 10:28 AM message regarding "change file name with oreilly servlet", I would like to change the file name to include a unique identifier upon upload, did you ever find a solution to your problem?
Thanks!
Todd
[email protected] -
Is it possible to change file name policy in the JRE cache folder?
We are getting calls from our clients complaining of slowdowns in loading our Java applet. The reason is a virusscanner. If a virusscanner is in the middle, it can drastically slow down the download process, and therefore cause some high delay before the user can work on the our product as expected.
On this csutomer's side, it may take up to 10 min (the first time it is ran) instead of 1 min. JRE 1.6 is in use.
They dont want to exclude from antivirus scan all files from Sun\Java\Deployment\cache folder.
Question:
Is it possible to change file name policy in the JRE cache to make it less unique?
Thanks,
-Dimadgomel wrote:
We are getting calls from our clients complaining of slowdowns in loading our Java applet. The reason is a virusscanner. If a virusscanner is in the middle, it can drastically slow down the download process, and therefore cause some high delay before the user can work on the our product as expected.
On this csutomer's side, it may take up to 10 min (the first time it is ran) instead of 1 min. JRE 1.6 is in use.
They dont want to exclude from antivirus scan all files from Sun\Java\Deployment\cache folder.
Question:
Is it possible to change file name policy in the JRE cache to make it less unique?
I suggest you solve the real problem - big files.
There are two scenarios
1. Initial download
2. Updates.
The first takes as long as it takes. No way around it.
The second means that you can't use one jar. Otherwise every single update requires downloading the entire application every time. Multiple jars means only the one that changed is downloaded. -
How do I reconnect media after changing file name?
The original file name is 1001.WAV I changed it to Take1 . How do I relocate the files? I use Pluraleyes to sync all my files.
Cheers, GregChange it back. NEVER change file names in the Finder level if the media is in an FCP project. Change it BEFORE you import it into FCP...or change the name IN FCP. What you did was bad bad wrong wrong. Expecially since you already did things like sync it up with pluraleyes.
Change it back. Then change the name in FCP. -
The book I downloaded has each chapter as a seperate .pdf, each with it's own unique filename. ADE has retitled every chapter (.pdf) to the name of the book. Now that all the chapters have the same name, I can't transfer them to my Kobo. How do I change titles or get ADE to stop changing file names?
ThanksDimitri,
As usual, thanks for the simple but informative explanation!
Jason
"Dimitri Rakitine" <[email protected]> wrote in message news:[email protected]..
> I think your theory is correct - java classes cannot contain '-' in
> the name and 45 is ascii decimal for '-'. 46 is '.'.
>
> Jason Rosenberg <[email protected]> wrote:
> > I have been working with using jspc.
>
> > I have noticed in a few cases it changes file names.
>
> > For instance, when I compile the file: '6-12adrworld_090700.jsp',
> > it produces: '_6_45_12adrworld_090700.class'
>
> > Where does the '_45_' come from? I am trying to work with the
> > theory that '-' becomes '_45_'....
>
> > Also, in another case, I noticed a '_46_' was inserted.
>
> > Any ideas? Is this documented anywhere?
>
> > Jason
>
>
>
> --
> Dimitri
-
Infopackage routine for changing file name
Hi Everyone,
I have to load flat files from application server directories. I get these files from different locations and they are saved in own (location) folders by a script). I would like to run these file from infopackage through process chain. the problem is that these files have changing names. The format is like this
Canada_co3300.csv
I can write a routine is my infopackage but "co3300" keeps changing as it represents different companies code in that particular location (Canada).
I have a routine
data: F1 type string value 'D:\usr\sap\FLAT_FILES\Inbound\Cayman\Canada_<b>co3300</b>_',
F2 type string '.csv'.
concatenate f1 f2 into p_filename.
How can I get a variable <b>co</b>---- in my routine so my infopackage can read the file if <b>co</b> has different value like co2000. Thanks In advance.
Regards,
AsadHi Saugata,
My flat file name has a naming convention based on company code in application server folder, so I get files with name
Canadaco<b>3000</b>.csv or
Canadaco<b>2000</b>.csv or
Canadaco<b>4000</b>.csv or something else <b>(co</b> number keeps changing)
So My file name keeps changing all the time. I would like my infopackage to read these files automatically thorugh a routine or logical file name. I have tried both, but donot know how to configure this scenerio thorugh my infopackage. Please give me steps to use that table you mentioned. Thanks . -
Unable to change file name in Metadata pane - Lightroom 2
I can't seem to activate the file name area in the Metadata pane in the Library module. It is solid gray and I cannot make the area active. With the correct folder active, the files seem to be normal in all visible ways, but the ability to change the name is not available. This is true in Grid or Loupe views. It is true with only one Active image. Any thoughts?
Are the images on-line? Though that shouldn't make a difference. You should still get a non-grayed out filename and get a warning dialog, instead if you try to set a name change.
Don -
Change File Name In The "File Download" Dialog Box For Web Reports
Hi All ,
I followed the below note to change the "File Download" name.
How To Change The File Name In The "File Download" Dialog Box For Web Reports? Doc ID: Note:418366.1
However its not working. Has anyone tried this and works fine ?
Basically I wanted to change the name "rwservlet" when a report is run in an
excel format.
Rajesh Alex
Rajesh AlexHello,
Have you checked if a HTTP header "Content-disposition" is returned ?
You can use ieHTTPHEaders for IE
http://www.blunck.se/iehttpheaders/iehttpheaders.html
and
Live HTTP Headers for FireFox
https://addons.mozilla.org/en-US/firefox/addon/3829
Regards -
Changing file name and directory structure for use outside of iPhoto
Hi,
I was wondering if its possible to get iPhoto to name the files from my library to reflect the names that I've given the files in iPhoto. I'm thinking along the lines of iTunes, where its possible to chose in the preferences how the files are named, and there is some logical directory structure, such as "Artist/Album/01 - Track 1.mp3". These file names are updated to reflect any changes made in iTunes.
I've heard the argument that I shouldn't ever want to do anything with the files themselves because iPhoto can do everything I would ever want to do, but I want to organize the files so that not all of my organizational work is lost if I decide to stop using iPhoto and transition to a different system. Any suggestions would be appreciated.
Thanks,
AdrianAdrian
No it's not possible.
You can rename the files before bringing them into iPhoto, you can rename them with the titles on Export (Use the File -> Export command, it gives you the option to use the title and filename) but when it's inside iPhoto you cannot rename the files.
However, all is not entirely lost. Using Film Rolls (View -> Film Rolls) you can move pics between rolls, name rolls, create rolls and so on, as long as you do this in the iPhoto Window, and these changes will be reflected in the iPhoto Library Folder.
If at some point you decide to chuck iPhoto then (if the new app won't read iPhoto database files) you can simply export each album you've created to a Folder (using the File -> Export command as I suggest above), this, along with exporting slideshows will preserve your organisational efforts.
The iTunes database has a rather simple job to do: track a file and it's assorted metadata. iPhoto, on the other hand, tracks a file and it's assorted metadata, plus a Modified version, plus a thumbnail. If you consider what happens when you edit a pic, for instance - Copy Original, perform edit, save modified version, remove Original Thumbnail and then create new one - you can see it's a rather more complex job.
Finally, the standard warning: It is strongly advised that you do not move, change or in anyway alter things in the iPhoto Library Folder as this can cause the application to fail and even lead to data loss. Any changes you make must be made in the iPhoto Window.
Need more info? by all means post again.
Regards
TD -
CS5 changes file name on command+save from photoshop to Lightroom
Recently CS5 changes the names of my files to "untiteld" when I press "command + S" that have been exported from LR3. This doesn't happen to files opened directly from their original folder.
I can save them to a different location using "command +shift+ S" and the original name stays intact.
Any ideas on how I can fix this?
Thanks
Greg EddingerNo problem. Waiting for a video rendering and upload to finish ;-)
If it is fixed in another account than it is highly likely that a develop preset or default gets applied to your images. This happens quite easily and has happened to me unknowingly too. Basically you would by accident have hit the Reset button in Develop while the option key was pressed. What you want to do is to go into Preferences->Presets and hit the button that says "Reset all default Develop settings". Then hit reset on your image. If none of that works, you can always trash the Lightroom preferences file. Quit out of Lightroom, go to the Finder. Hit command-Shift-G. Type ~/Library/Preferences/ in the display that you get to reveal the hidden by default preferences folder in your home account. Find the file that is called com.adobe.Lightroom5.plist (you might not see the plist extension on your computer) and drag that to the trash. Now start Lightroom again and your Lightroom should behave as if you just installed it. You might have to point it to your catalog file if it doesn't open with it there but with an empty catalog. File->Open Catalog-> select your main catalog. -
Changing file name to iphoto title
Hi I understand that I can export a photo from iphoto with the iphoto title but I have over 6000 pics in iphoto. Is there a way to save the iphoto title as the file name without individually exporting then importing back into iphoto? The main reason I want to have the iphoto titles for all of these pics is to save the double, sometimes triple handling involved if I am looking for the pics in other places or trying to send large numbers of photos to others and they receive them as file names not iphoto titles when i email them (or I have to keep opening them to see what they are in other areas-like the picture library for instance)? Does apeture allow you to keep a title as a file name? I often download over 100 pics at a time from my camera directly into iphoto. The thumbnails allow me to edit information including title without individually opening each pic. If I don't import from my camera directly into iphoto what other options do i have that are not going to be time consuming? thanks
Welcome to the Apple Discussions.
Is there a way to save the iphoto title as the file name without individually exporting then importing back into iphoto?
No. iPhoto tracks the pics by their path on the HD and this would change the path. iPhoto will then lose the pics.
The main reason I want to have the iphoto titles for all of these pics is to save the double, sometimes triple handling involved if I am looking for the pics in other places
Anywhere you search for the pics you can search on Title, you don’t need to use Filename.
to send large numbers of photos to others and they receive them as file names not iphoto titles when i email them
If they are using any sort of Photo aware app to view them, they will see the titles.
or I have to keep opening them to see what they are in other areas-like the picture library for instance
But why would you be doing that? That’s what your Photo Manager is for.
If I don't import from my camera directly into iphoto what other options do i have that are not going to be time consuming?
Use Image Capture to move the pics from your Camera to the HD. Rename the files and then import them.
I really don’t think it’s necessary to actually rename the files. IF you can describe your workflow for searching or accessing the pics I think we might be able to suggest an alternative way to access them without or without opening iPhoto.
Regards
TD -
RoboHelp changes file name to lowercase
I am using RH X5.0.2 (running on Win XP SP2) to import HTML files as topics. The primary layout is Microsoft HTML Help.
The original HTML file names are mixed case, but when the files are imported into RoboHelp, the file names are changed to all lowercase. For example, GL_Audit.htm is changed to gl_audit.htm. This is an issue because the topic title reflects the file name, and I need the topic title to retain the mixed case of the original files.
After I import the file, I have to manually change the topic title. However, RoboHelp does not like it when the title has an underscore. If I change gl_audit to GL_Audit and click OK, the change is not saved. But if I change gl_audit to GLAudit and click Apply, and then change it to GL_Audit, the change is saved.
I am using an existing project that was created by someone else a long time ago. Here are the steps that I am following:
1. Right-click the destination folder, and then click Import.
2. At the Import File screen, select the desired file, for example, GL_Audit.htm, and click Open. The file is imported as a topic.
3. Right-click the topic, and click Properties. Note that the Topic Tile is gl_audit, and the file name is gl_audit.htm.
4. In the Topic Title field, type GL_Audit, and click OK. Note that the Topic title is still gl_audit, and not GL_Audit.
5. Open the Topic Properties screen again.
6. In the Topic Title field, type GLAudit, and click Apply.
7. In the Topic Title field, enter an underscore between the L and the A so that the topic title is GL_Audit.
8. Click OK. Not that the topic title is saved as it was typed -- in mixed case.
If I can get RH to import the files without changing the original case, it will not matter that it takes two steps to change the topic title name.
Any suggestions would be greatly appreciated.
AshleyHi again
Ashley, how are these HTML pages being created? I ask because I performed a small test. While the import process did indeed convert the file name to all lower case, it ignored the Topic Title. However, if I didn't have a Topic Title defined, it did create one that was all lower case.
I'm thinking that whatever tool that was used to create the topics you are importing didn't properly configure a proper Title Tag.
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks -
[RFC to File]Problem about Changing file name in message mapping.
Hi,
my problem:
Type:RFC to File
I change the file name in message mapping.
when I call the RFC to send the data twice at the same time, both of the output file names are changed while I only want to change the second output file name.
thanks
SamIn my MM, the input values to these variables (var1, var2 and var3) are (<ZZCOMBI>array,G499999,END_FIFC0029) ,
var1 is an array of input <ZZCOMBI> item list;
var2 is get from a property file by call another UDF;
var3 is constant value.
the test input data :
I send the data for the first time:
- <rfc:Z_IFCFR821_ZIFCTT82100010 xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <T_ZIFCTS82100010>
- <item>
<ZZCOMBI>G000002G000002</ZZCOMBI>
<ZZKYKBN>*</ZZKYKBN>
<ENAME_VE />
<ENAME_Z5 />
</item>
</T_ZIFCTS82100010>
</rfc:Z_IFCFR821_ZIFCTT82100010>
so the input values to these variables (var1, var2 and var3) are (G000002G000002,G499999,END_FIFC0029)
the output file name(File1) :END_FIFC002920090413-171534-053.dat
output record: G000002G000002
because the data what I send is the last record, the system send the dummy data for the second time by program.
- <rfc:Z_IFCFR821_ZIFCTT82100010 xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <T_ZIFCTS82100010>
- <item>
<ZZCOMBI>G499999</ZZCOMBI>
<ZZKYKBN />
<ENAME_VE />
<ENAME_Z5 />
</item>
</T_ZIFCTS82100010>
</rfc:Z_IFCFR821_ZIFCTT82100010>
so the input values to these variables (var1, var2 and var3) are (G499999,G499999,END_FIFC0029)
the output file name(File2) :END_FIFC002920090413-171533-928.dat
output record: G499999
I find that File2(20090413-171533-928) was ouput before File1(20090413-171534-053 ) from the time stamp.
I am not sure about that "XI will create a message ID for each message and the messages are independent." as you mentioned above.
Best regards
Sam
Edited by: YONGHE ZHOU on Apr 15, 2009 3:59 AM -
In my receiver adapter the file name schema is intern_pay%var1%.dat and in variable substitution var1 is defined as message:message_id_hex.According to this i can see the file in the target directory as intern_payb0ba03a0904711dbbb9e00000e252c96.dat
Can any one please help me out to change the format of the file in the target directory to intern_pay_yyyymmdd.dat
Briefly, can any one please explain me how to change the file name schema in the receiver adapter.
Many Thanks,
Smith.Hi Paul,
You can use DynamicConfiguration in a user defined function to achieve this.
Go thro these threads, they will provide you the solution.
Dynamic Directory and File Naming in Receiver Adapter
In the above thread look at the post that answered the question. It will certainly help you.
And go thro this also.
Dynamic File Name for Receiver File Adapter
Regards,
P.Venkat -
Files arranged by date added, but changing file name changes date added
I've got my Downloads folder set to view (in the Finder) by "date added", a very useful feature. However, if I change a file name, the "date added" changes to that new time, and "date modified" stays the same as it was. This doesn't make sense to me... isn't date added just that, when it was added to the folder? Why would this happen? Any workarounds or suggestions?
You should use the 'File/Directory Info' functionality.
This will return the last modificatoin of the file.
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
How do I change file names in "Windows Friendly" attachments before sending?
In sending some "Windows Friendly" attached images, I want to change the file names so they are meaningful to the recipient. (I don't want to change the file name in my picture catalog, just for this mailing.) In Outlook on an old pc, I remember being able to right click and rename the file in the email draft. I've tried right clicking on the image (which looks embedded in my draft), but there is no option for renaming. I can't see the file name in my draft to figure out another way to change it. I'm sure other people want to do this when sending other types of files, so there must be a way, right? I'm using the current version of Mail.
Thanks!I'm pleased to have helped, if you are mailing images all the time perhaps you could create a new folder on the Desktop or in Finder/Username store your images in the folder rename the images click Drag & Drop more than one at a time but don't make the package too big!
Maybe you are looking for
-
Doubt regarding HTTP Live Streaming for windows phone 8.1 silverlight app?
Hi, I am developing a Windows phone 8.1 silverlight app. I want to add live streaming youtube channel , thats why I used https://phonesm.codeplex.com/ this link as a reference , and I am able to play the links given in the samples, but I am unable t
-
Why windows 8 does not recognize ipod touch model A1367 4th Generation?
Why window 8 does not recognize ipod touch model A1367 4th generation? and of course iTunes either.
-
Mac mini (mid 2011) no airplay icon
Hey all, I just got a apple TV 3rd GEN, and can't seem to see this airplay icon on the top of my screen? I got a mid 2011 mac mini with a 2.7GHz i7 osx lion 10.7.5. everything works with connecting itunes to apple TV but I want to do airplay mirrorin
-
Select rows based on condition of same row
Hello, I have the following table structure and rows defind here http://sqlfiddle.com/#!4/3f474/3 I would like to select rows if PRODUCT_NO is null then I need to select rows which are having IS_PAYABLE='Y'. If PRODUCT_NO is not null then IS_PAYABLE
-
How do i get into itunes when the when the software update screen is froze
I'm trying to get into my itunes but the screen for the software update is froze and says it's loading and it wont stop. You can use everything else except itunes.