Shortening file names

Hi all,
Does anyone know of a way to shorten file names to the same length?
Here is my problem...
I receive hundreds of InDesign files named with a common file naming convention. for example ABC001_jobtitle / ABC002_nextjob / ABC003_etc. I use a great software package to automate the majority of the tasks that I need to do in the pre-press environment, to speed up repetitive jobs to pre-flight and produce PDFs for proofing and printing.
I then end up with a folder of files: ABC001_jobtitle.PDF / ABC002_nextjob.PDF / ABC003_etc.PDF
What I need to be able to do with Apple script or Automator is to truncate the file names to the same length to remove all the characters AFTER the code so that I end up with files named ABC001 / ABC002 / ABC003 (but NOT renaming them as these codes have to match up to a code on a packing list elsewhere).
Is this possible? There are plenty of file renaming options within Automator but none (that I can see) that solve this problem.

I just happen to have an Automator Run AppleScript action that trims file names to the specified number of (leftmost or rightmost) characters and renames the file(s). See if this will do what you want (I recommend testing on some copies):
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px; height: 335px;
color: #000000;
background-color: #FFDDFF;
overflow: auto;"
title="this text can be pasted into an Automator 'Run AppleScript' action">
on run {input, parameters}
-- rename Finder items (aliases), keeping the left/rightmost characters in the name
-- names with fewer characters are not trimmed - errors are skipped
-- input: a list of Finder items to rename
-- output: a list of the renamed Finder items
set output to {}
set SkippedItems to {} -- this will be a list of skipped items
-- prompt for the number of characters to keep and set the start and end limits
display dialog "Enter the number of characters to keep:" default answer "all" buttons {"Cancel", "LeftMost", "RightMost"}
set {TheButton, TheNumber} to {button returned, text returned} of the result
try
set TheNumber to TheNumber as integer
on error
set TheNumber to "all"
end try
if TheNumber is "all" then
set {TheStart, TheEnd} to {1, -1}
else
if TheButton is "LeftMost" then
set {TheStart, TheEnd} to {1, TheNumber}
else
set {TheStart, TheEnd} to {-TheNumber, -1}
end if
end if
tell application "Finder" to repeat with SomeItem in the input -- step through each item in the input
-- get the item name and extension
set {TheName, TheExtension} to {name of SomeItem, name extension of SomeItem}
set TheContainer to (container of SomeItem) as text -- the containing folder
if TheExtension is in {missing value, ""} then
set TheExtension to ""
else
set TheExtension to "." & TheExtension
end if
set TheName to text 1 thru -((length of TheExtension) + 1) of TheName -- the name part
try
set FileName to (text TheStart thru TheEnd of TheName) & TheExtension
set name of SomeItem to FileName
set the end of output to (TheContainer & the result) as alias
on error
set the end of SkippedItems to (return & TheName & TheExtension)
end try
end repeat
if SkippedItems is not {} then -- handle skipped items
set TheCount to (count SkippedItems) as text
display alert "Error with renaming files" message "The following " & TheCount & " items(s) were skipped:" & return & SkippedItems as text
end if
return the output -- pass the result(s) to the next action
end run
</pre>

Similar Messages

  • Consolidating itunes media library-how to shorten file names or how to find the file that is creating the problem?

    Hi I've switched to Mac for six months now, so is still new to mac and I am using my old 1TB windows PC side by side for my music collection. Now I have seen the posts already in apple community about consolidating itunes music library but could not get the proper way of doing it. My system and itunes is also saying 'file name is too long' and it stops but the questin is how do I know which file is creating the problem and how do I shorten it?
    If anybody can answer I'll be obliged to him/her, because its my 6/7 years of music collection stuck in an old pc. Thanks in advance.
    - Javed

    By 'it stops' I meant the consolidation process in itunes stops.

  • ITunes shortens file names. Is it possible to keep the complete file names?

    Hello community, this is my first entry. Please consider this, if my expressions aren't clear enough. Would be great to find a solution. I use an external USB 3.0 hard drive formatted as HFS+ (under Windows 8 I use MacDrive Pro to have full read/write access) on my MacBook Pro Retina, which hold all my music files. As long as I import and manage my iTune media files under the Mac OS X version of iTunes everything is fine. But when I boot Windows 8 under Bootcamp - I need this native Window environment for my job - and import regular Audio CDs into iTunes for Windows it cuts all my file names of new imported files. The tags are complete, but the file names aren't. Is there a way to change this behaviour of iTunes for Windows? Perhaps a registry entry or something like this. I look forward for your help. Best

    Note from other posts:
    The content and format of the cache will and do change from version to version of javaws. It is highly unadvisable to build into you application relying on the location or format.
    That being said, for 1.4.2 or 1.5.0, the location was as given: "C:\Documents and Settings\<UserID>\Application Data\Sun\Java\Deployment\cache\javaws", and in long path below that depending on the URL of the resource.
    For version 6, the cache is in : "C:\Documents and Settings\<UserID>\Application Data\Sun\Java\Deployment\cache\6.0" and then in a directory below that named "0" thry "63", depending on the hash of the URL of the resource. The name will be completely obscure, there will be one binary index file with "idx" extension, and then the actual resource will be the file of the same name w/o any extension.
    /Andy

  • REALLY long files names shortened by Bridge's Image Processor

    I have images from a PHPBB forum website that during creation of a post to the forum have been auto renamed by scripts and then inserted into the database. The images are huge in file size and have used up the webserver disk space meaning no more images can be uploaded!
    I decided to download all images and process them down to 800 pixel wide images using Bridge's image processor to reduce the file size. This worked OK for image size reduction, but it did change the name of the file to a shorter name which has broken the link to the images.
    The files names are huge! Here's an example:
    45_1c039812422e7d6b9d29589ffb7a44a545_1c039812422e7d6b9d29589ffb7a44a545_1c039812422e7d6b9 d29589ffb7a44a545_1c039812422e7d6b9d29589ffb7a44a545_1c039812422e7d6b9d29589ffb7a44a545_1c 039812422e7d6b9d29589ffb7a44a545_1c039812422e7d6b9d29589ffb7a44a545_1c0
    ...and yes, it doesn't have a file extension!
    How can I overcome this problem of shortening file names?
    Thanks

    "Use another image processor?"  Why? I've noticed this same thing lately as I use Bridge/CR do basic image adjustments on files renamed to even shorter character strings. Bridge just ignores everything after x number of characters. This is a solid bug in my book as it screws up any kind of workflow between Bridge and Photoshop and, well just about anything...

  • File Name Shortenings in Folders (Finder)

    My question is if you can change the format of how shortened file names appear in folders.
    The default is showing the beginning and ending of a file name:
    "summer vacation photos" -> "summ...otos" (of course depending on how large the file icon is or how wide the column is)
    I want to know if it is possible to change the settings to just show the beginning of the file name (the Windows default I guess):
    "summer vacation photos" -> "summer vac..."
    I just want to know because I find the Mac default to be difficult to read and to figure out what the file names are.

    Use list view and expand the name column to display the entire name. Alternatively, use shorter names. As for changing how it's displayed, there's no built-in way to do it the way you want to.

  • Windows shortens Font file name?

    Hello, I just ran across what I believe to be an anomaly having to do with Windows Fonts.  When I install a Type 1 font named OP______.PFM after installation, the file name, as it sits in C:\windows\fonts is now, OP_____.PFM.  Yes, that is one
    _ different then the original file name as it sits outside of the fonts directory.  Windows appears to have shortened the file name during the installation of the font.  We run SCCM 2012 and I wanted to know which PC's had this font installed so
    I told SCCM to take inventory of OP______.PFM files in the Fonts directory .  Nothing ever showed up in my reports so I've been beating my head against the wall for 2 days now searching client and server logs. Until I found out the file name was
    shortened.  I've since decided the % wildcard is my friend.  ;-)
    Anyway, I am posting here to simply find out if this is known behavior and if so, are there other places in Windows where file names get shortened?
    Thanks for your time.

    The most likely culprit is the font package itself.  The font name is specified within the package and it would have been an error by the programmer, not a Windows anomaly.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • How do I shorten my file names

    I have my catalog the way it should be but the file names seem to go forever. example top 45 copy 11111111111111.edit can I like turn them back to a simple file name I have thousands I need to do this to

    Technical answer: yes, you can change your file names with large amounts of tedious effort; you will have to change each individually, using Organizer (not Windows)
    Practical answer: It is not worth the effort.
    Why does it even matter what the file names are?

  • SharePoint 2010, Visual Studio 2010, Packaging a solution - The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    Hi,
    I have a solution that used to contain one SharePoint 2010 project. The project is named along the following lines:
    <Company>.<Product>.SharePoint - let's call it Project1 for future reference. It contains a number of features which have been named according
    to their purpose, some are reasonably long and the paths fairly deep. As far as I am concerned we are using sensible namespaces and these reflect our company policy of "doing things properly".
    I first encountered the following error message when packaging the aforementioned SharePoint project into a wsp:
    "The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."
    I went through a great deal of pain in trying to rename the project, shorten feature names and namespaces etc... until I got it working. I then went about gradually
    renaming everything until eventually I had what I started with, and it all worked. So I was none the wiser...not ideal, but I needed to get on and had tight delivery timelines.
    Recently we wanted to add another SharePoint project so that we could move some of our core functinality out into a separate SharePoint solution - e.g. custom workflow
    error logging. So we created another project in Visual Studio called:
    <Company>.<Product>.SharePoint.<Subsystem> - let's call it Project2 for future reference
    And this is when the error has come back and bitten me! The scenario is now as follows:
    1. project1 packages and deploys successfully with long feature names and deep paths.
    2. project2 does not package and has no features in it at all. The project2 name is 13 characters longer than project1
    I am convinced this is a bug with Visual Studio and/or the Package MSBuild target. Why? Let me explain my findings so far:
    1. By doing the following I can get project2 to package
    In Visual Studio 2010 show all files of project2, delete the obj, bin, pkg, pkgobj folders.
    Clean the solution
    Shut down Visual Studio 2010
    Open Visual Studio 2010
    Rebuild the solution
    Package the project2
    et voila the package is generated!
    This demonstrates that the package error message is in fact inaccurate and that it can create the package, it just needs a little help, since Visual Studio seems to
    no longer be hanging onto something.
    Clearly this is fine for a small time project, but try doing this in an environment where we use Continuous Integration, Unit Testing and automatic deployment of SharePoint
    solutions on a Build Server using automated builds.
    2. I have created another project3 which has a ludicrously long name, this packages fine and also has no features contained within it.
    3. I have looked at the length of the path under the pkg folder for project1 and it is large in comparison to the one that is generated for project2, that is when it
    does successfully package using the method outlined in 1. above. This is strange since project1 packages and project2 does not.
    4. If I attempt to add project2 to my command line build using MSBuild then it fails to package and when I then open up Visual Studio and attempt to package project2
    from the Visual Studio UI then it fails with the path too long error message, until I go through the steps outlined in 1. above to get it to package.
    5. DebugView shows nothing useful during the build and packaging of the project.
    6. The error seems to occur in
    CreateSharePointProjectService target called at line 365 of
    Microsoft.VisualStudio.SharePoint.targetsCurrently I am at a loss to work out why this is happening? My next task is to delete
    project2 completely and recreate it and introduce it into my Visual Studio solution.
    Microsoft, can you confirm whether this is a known issue and whether others have encountered this issue? Is it resolved in a hotfix?
    Anybody else, can you confirm whether you have come up with a solution to this issue? When I mean a solution I mean one that does not mean that I have to rename my namespaces,
    project etc... and is actually workable in a meaningful Visual Studio solution.

    Hi
    Yes, I thought I had fixed this my moving my solution from the usual documents  to
    c:\v2010\projectsOverflow\DetailedProjectTimeline
    This builds ok, but when I come to package I get the lovely error:
    Error 2 The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. C:\VS2010\ProjectsOverflow\DetailedProjectTimeline\VisualDetailedProjectTimelineWebPart\Features\Feature1\Feature1.feature VisualDetailedProjectTimeline
    Now, the error seems to be related to 
    Can anyone suggest what might be causing this. Probably some path in an XML file somewhere. Here is my prime suspect!
    <metaData>
    <type name="VisualDetailedProjectTimelineWebPart.VisualProjectTimelineWebPart.VisualProjectTimeline, $SharePoint.Project.AssemblyFullName$" />
    <importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage>
    </metaData>
    <data>
    <properties>
    <property name="Title" type="string">VisualProjectTimelineWebPart</property>
    <property name="Description" type="string">My Visual WebPart</property>
    </properties>
    </data>
    </webPart>
    </webParts>
    .... Unless I can solve this I will have to remove the project and recreate but with simple paths. Tho I will be none the wiser if I come across this again.
    Daniel

  • File name too long cannot copy (cont'd)

    This is a continuation of the post started September 01, 2009, with the last post on
    October 17, 2011 named File name too long cannot copy
    Since this is an ongoing unsolved issue, and the thread was locked, it continues here.
    It is ever so easy to create a long file/path using explorer.exe as will be shown below.
    What needs to be solved is, what is an easy way (no, not by listing out all the files in a directory to a text file and counting characters), perhaps using a shell extension, to find out which files in a directory and it's subdirectories will be (or were)
    too long to copy, (and then perhaps even copying those over either intact or renamed)?
    Maflagulator said:
    I'm running the 7100 build...enjoying it except for one big thing:
    While attempting to copy 402gb from my main storage volume onto a spare 500gb drive (for the purpose of changing to a new RAID array) I've come across something that I would expect a Windows 98 OS to give me.
    It tells me that a file has TOO LONG of a file name, then provides with two unhelpful options: SKIP or CANCEL
    I never had XP give me an issue like this at all, so what gives? And while some specific files did have long file names (such as for songs, etc.) it had 7 issues with folders stating that their name was too long, but in fact they were not since they were
    titled '07-06-07' for the date that I dumped the audio files in them. However, they may have contained FILES with long file names though.
    Anyone else get this same situation? Perhaps the RTM version does not do this? Can anyone verify this regarding their install of the RC or the RTM?
    It made it through 400gb out of the 402gb transfer.
    I'm just happy to see that it doesn't spazz out about an issue like this until it has done all the other transfers that it can do because it saves the issues it has with files until the very end. In XP it would spazz about it the moment it came across it
    causing the transfer process to halt.
    Since long path/file names can so easily be created on Win7, it might be useful to see a typical way this happens, which might then give clues how to work with them.
    In Windows Vista, we learnt from:
    File names and file name extensions: frequently asked questions that:
    Windows usually limits file names to 260 characters. But the file name must actually be shorter than that, since the complete path (such as C:\Program Files\filename.txt) is included in this character count.
    In Windows 7, we are told here:
    File names and file name extensions: frequently asked questions that:
    It depends on the length of the complete path to the file (such as C:\Program Files\filename.txt). Windows limits a single path to 260 characters. This is why you might occasionally get an error when copying a file with a very long file name to a location
    that has a longer path than the file's original location.
    From the Windows Dev Center - Desktop, we read about Maximum Path Length Limitation here:
    Naming Files, Paths, and Namespaces
    This helps us understand why a folder can be a maximum of 244 characters, from the defined 260 length of MAX_PATH as follows:
    260 minus C:\ (3) minus <NUL> (1) = 256
    256 minus 8.3 file name (12) = 244
    We also learn there that: The Windows API has many functions that also have Unicode versions to permit an extended-length path for a maximum total path length of 32,767 characters.
    And we read the claim that: The shell and the file system have different requirements. It is possible to create a path with the Windows API that the shell user interface is not be able to interpret properly.
    There is also a comment below this document that reads: In a previous iteration of this document, it is mentioned that The Unicode versions of several functions permit a maximum path length of approximately 32,000 characters composed of components up to
    255 characters in length. This information is now gone.
    So we are in a position where the file system and Windows API can create long path/flies that the shell cannot handle.
    But then we need to be able to handle it, so a little exploration might lead to a better understanding of how to do this.
    For most tasks being performed on long folder/files, Windows 7 and other Windows programs balk when the Path+Filename length > 260
    Let's create a long path/file.
    Create a folder called A at the root of a Drive.
    Create a sub-folder of A called: B
    Create a sub-folder of B called: C
    Make a FILE in sub-folder C called (no spaces or break, one long continuous string): 123456789A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J 123456789K123456789L123456789M123456789N123456789O123456789P123456789Q123456789R123456789S123456789T
    123456789U123456789V123456789W123456789X123456.txt
    Rename sub-folder C to the string (no spaces or break, one long continuous string) (The actual directory created will be slightly shorter than this full length): 123456789A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J
    123456789K123456789L123456789M123456789N123456789O123456789P123456789Q123456789R123456789S123456789T 123456789U123456789V123456789W123456789X123456789Y123456789Z
    Rename sub-folder B to the same full string above. (The actual directory created will be slightly shorter than this full length but 2 characters longer than the step above.)
    Rename folder A to that same full original string. (Again the actual directory created will be slightly shorter than this full length but 2 characters longer than the step above.)
    You now have the lovely file placed at (the breaks are just so it fits into the screen):
    C:\123456789A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J 123456789K123456789L123456789M123456789N123456789O123456789P123456789Q123456789R123456789S123456789T 123456789U123456789V123456789W123456789X1234\ 123456789A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J
    123456789K123456789L123456789M123456789N123456789O123456789P123456789Q123456789R123456789S123456789T 123456789U123456789V123456789W123456789X12\ 123456789A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J 123456789K123456789L123456789M123456789N123456789O123456789P123456789Q123456789R123456789S123456789T
    123456789U123456789V123456789W123456789X\ 123456789A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J 123456789K123456789L123456789M123456789N123456789O123456789P123456789Q123456789R123456789S123456789T 123456789U123456789V123456789W123456789X123456.txt
    You have a folder length of over 700 and a file length of over 250 for a total of over 950
    However you will notice that each folder, when created, could only be a maximum of 247 charachters including the path (example C:\ , & C:\A , & C:\A\B
    This only applies backwards, that is up the path. It did not matter what was further down the path.
    Now, you can't easily access or rename the file, but you can rename the folders easily.
    For best results, start renaming from the top of the Tree, working down the subfolders, because renaming from down up will limit you, and in fact won't work if the folder lengths are too long.
    So how might knowing this help us?
    Well, to copy this long_file from the C:\ drive to the D:\ drive, and keeping the path structure, this should work:
    Note the name of the top folder. Rename it to something very short, say: A (Make sure C:\A does not exist)
    Note the name of the 2nd folder. Rename it to something very short, say: B (Make sure C:\A\B does not exist)
    Note the name of the 3rd folder. Rename it to something very short, say: C (Make sure C:\A\B\C does not exist)
    Make sure D:\A does not exist - then copy the A folder on disk C: to disk D: (which gives you D:\A\B\C\long_file
    Rename D:\A\B\C to D:\A\B\Original_3rd_Folder_name
    Rename D:\A\B to D:\A\B\Original_2nd_Folder_name
    Rename D:\A to D:\Original_top_Folder_name
    Rename C:\A\B\C back to their original names, in this same reverse order starting with C, then B, then A
    Note: If using Explorer, at some points you might have to press the F5 refresh key.
    This is of course how you might copy such long path/files without using the other more "easy" techniques for the "normal" everyday user like:
    sharing a sub-folder
    using the commandline to assign a drive letter by means of SUBST
    using AddConnectionunder VB to assign a drive letter to a path
    using the "\\?\" prefix to a path string to tell the Windows APIs to disable all string parsing and to send the string that follows it straight to the file system
    and so on.
    See how simple Windows can be for Dummies!
    But then, how can we know that files to be copied exceed this MAX_PATH? Or also after a copy has taken place, know exactly which files that have NOT been copied because of exceeding the MAX_PATH limit, and then a procedure to copy these either by renaming
    them, or by copying them intact as they are?
    There have been suggestions to use
    LongPathTool, but this does not have a facility to check a series of folders and tell you which files are going to be caught by the error when copying. So once a copy has taken place using Windows 7, one does not know which files did not get copied, and
    where exactly they are located.
    Neither does the free
    Old Path Scanner do that. It can only check for overly long directory paths, but misses out when the directory path is within limits, but adding in the file name puts it out of bounds.
    So, as shown above, it is ever so easy to create a long file/path using explorer.exe
    So, what then is an easy way (no, not by listing out all the files in a directory to a text file and counting characters), perhaps using a shell extension, to find out which files in a directory and it's subdirectories will be (or were) too long to copy,
    (and then perhaps even copying those over either intact or renamed)?

    This is a not a "solution" ....but a "work around": a low tech fix....for error message "your file name is too long to be copied, deleted, renamed, moved" :
    1.   problem is this: the "file name" has a limit on number of characters.....the sum of characters really includes the entire path name; you gotta shorten it first (i.e, if the total number of characters in the file name + Path name are over the
    limit, the error appears).  The deeper your file folder sub levels are, the more this problem will come up, especially when you copy to a subfolder of a subfolder/subfolder of another path ...adds to character limit)
    2.  How do you know which combined file names + path names are too long if  you are in the  middle of a copy operation and this error pops up?  Some files copied but the "long files error message" says "skip" or "cancel" ... but not which
    files are the "too long" ones.  If you hit "skip" or "cancel" the "too long" files are left behind...but are mixed in with non-offender "good" "short name" files.   Sorting thru 1000s of "good" files to find a few "bad" ones manually is impractical.
    3.   Here's how you sort out the "bad" from the "good":
    4.    Let's say you want to copy a folder ..."Football" ...that has five layers of subfolders; each subfolder contains numerous files:
      C:/1 Football / 2 teams/ 3 players/ 4 stats/ 5 injuriessidelineplayerstoolong 
           There are five levels root "1 football" with subfolders  2, 3, 4 and lastly "5 injuries"
    5.    Use "cut" and "paste"  (for example to backup all five levels to a new backup folder):
           select "1 football" ....cut....select target folder....paste 
           ("cut" command means as the files are copied to the target destination, the file is deleted from the source location)
          Hint: avoid "cut" and "paste" to a target folder that is itself a sub/sub/sub folder ...that compounds the "characters over the limit" problem ...because the characters in the sub/sub/sub folder are included in the "file name
    character limit"...instead "paste" to a C:/ root directory.
           Suppose in the middle of this operation...error pops up: "5 files have file names that are too long"  Skip or cancel?
           select "skip"  ...and let operation finish
    6.    Now go back and look at the source location: since the software allows only the "good" "short name" files to be copied (and because you "skipped" the "bad" "Long name" files so they are not copied or deleted) ...all that remains
    in the source location are the "bad" "long name files" (because "good" ones were deleted from the source location after the "cut" operation...the bad ones stick out like a sore thumb.
    7.   You will find ....all that remains in source folders are: the "bad" "too long" files; in this example the "bad" file is in level 5:
          C:/ 1 football / 2 teams /3 players /4 stats /5 injuriessidelineplayerstoolong
    8.   select folder 5 injuriessidelineplayerstoolong (that's right...select folder, not file) gotta rename the folder first.
    9.  hit F2 rename folder..folder name highlighted...delete some of the letters in the folder name:
           like this:   5 injuriessidelineplayers  ....you should delete 'toolong'....from the folder name
    10.  then go into folder 5....and do the same operation ...with the too long file name:
            hit F2 rename file....file name hightlighted...delete some of the letters
               like this:  injuriessidelineplayers.....you should delete 'toolong' from the file name
    11.  Now..."cut and paste"  the renamed file to the target backup folder.  
    The Error message will pop up again if you missed any "bad" files....for example, it will indicate "5 files too long" ....then repeat process 5 times until you fix all of them
    12.     Finally, copy the target destination files back to the source location (when you are certain all source location file folder locations are empty) 
    Of course, this "makeshift" solution would not be necessary if MSFT would fix the problem...

  • "Copying Music Failed - File name invalid or too long."  HELP!

    I desperately need to consolidate my music before my computer says goodbye for all eternity. It seems I can't consolidate my music because apparently, the file name is too long or invalid. I even got this program that was supposed to help me seek out the ones with too long file names. So I deleted those songs and it still won't work. And after I got the new iTunes the other day, I set it to add all new songs automatically into the iTunes Music Folder. However, it seems my iTunes is a little screwed up, because whenever I add a song with a long file name, it automatically shortens it down. For example if I add a song with the named "20th Century Masters - The Millennium Collection: The Best of Smokey Robinson & The Miracles - Smokey Robinson & The Miracles - Ooo, Baby Baby", which is obviously a very long name, it will shorten it down to about the first 4 or 5 words. I naturally shorten it down to just "Ooo, Baby Baby" myself, but I'm thinkin this whole error may have something to do with the fact that the library won't consolidate.
    I'm in desperate need of help here - come to my rescue, please!

    Well, aren't you lucky I signed in tonight? Sometimes you just have to be patient and wait until a person who might know an answer shows up.
    I have had problems with Consolidate too, and getting that stupid error message when the file name was not too long.
    The consolidate function starts copying things over by Date Added, with the older ones getting copied first. First in, first out.
    What I finally had to do was look in Windows Explorer for the target (new) drive and see the last file that was successfully copied. Let's call it Carole King.
    Then I went into iTunes and sorted by Date Added to see the file just AFTER the Carole King file. In my case, it was La Bohème and iTunes had filed it in the Compilations folder. I selected all the tracks and unchecked the Compilations box. This made iTunes move it out of the Compilations folder
    The Consolidate worked after I moved that file.

  • Variable Substitution in file name on the sender CC in PI 7.1

    Hi
    I am working on a File to File scenario, where I need to shorten the file name to something like mode1, mode2 or mod3,
    How can i achive this, Please let me know if there is any example
    Thanks
    PR
    Edited by: PR on Oct 29, 2009 1:08 PM
    Edited by: PR on Oct 29, 2009 1:09 PM

    Hi,
    Mode1, mode2 and mode3 are file names?
    You can achieve this by using 'Advanced Selection for Source File' in Communication channel in ID.
    Refer the advanced selection of Source file concept from following link:
    http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    -Supriya.

  • Changed Photo file names won't update

    Hi, I am having a problem that I need help with. In my iWeb photo gallery page I have some photos that had filenames that were too long (for my server) and I had to change. I shortened them in iPhoto and replaced them in the iWeb gallery page. (I quit and restatrted programs appropriately). Still when I republish the page, the OLD photo filenales are showing in the photo gallery folder!! I have redone this proceedure 4 times now and am at wits end!!

    WOW! What a pain! I changed all the file names in the iPhoto Library and it still did not work. So I opened each of the photos using JVeiw and saved them to the Desktop. The replaced the filed in iPhoto with the new ones. Then replaced the files in iWeb. finally, it worked. I was able to publish to folder. Now when I upload to my server, I get the message about other file names being too long. The files are in the 'comments' folder of the published folder. Mine are B80F49F8-5F59-4C79-B827-1DC21D1729BE_files.
    I can not upload these to my old Appleshare IP 9.2 server.

  • Camera raw 8.3.0.141 truncates file names

    This is a recent thing.
    I open jpg images from bridge cs6 into camera raw and save new versions from camera raw into a new folder.
    Our incoming file names contain important data but not all of the name is written when I save jpg from camera raw.
    file name length seems to max out at 60 characters or so.
    THIS WAS NOT THE CASE SOME MONTHS AGO IN THIS MACHINE.
    Our folder names are long also but the combined path + filename length  rarely exceed 230 characters.
    Our file naming system has worked for some years and photoshop does not truncate file names, only this latest camera raw.
    This is on win 7  64 bit pro machine - our filenames do not need to be compatible with anything else whatever.
    example of our file/folder naming lenghts on my win machine:
    C:\AAliikkeet\02 xxxx oierjksinth\112255_ehhsyag somajrysen fgetrakunnan paievjerho_CO_10022014_til.73673\vlc\nietalahtn, naurvkustunr_bbseh syplamaiden syrdknhhar prifakehfo_IMG2722korjattu_cpy004_5000_02.jpg
    the real names have been replaced with strings of corrensponding length so this long baby represents a long(ish) folder+filename combo in our systems.
    This is a major new problem.
    Any help appreciated - even the good old "use shorter file names, idiot" but that is not an option for me.
    We are working in an industrial environment and systems  - including file naming have been working OK for some years and I cannot change our systems just to please my latest camera raw.

    Thank you for your kind advice and interest in my problem.
    I tested:
    c:\in\v  -folder is the one that jpg is read
    c:\in\vlc is folder that the camera raw saves jpg
    original file name was:
    HIETALAHTI, TENAVAMUSKARI_VAASAN SUOMALAISEN SEURAKUNNAN PÄIVÄKERHO_cpy004_5000_02.jpg
    it is truncated into:
    HIETALAHTI, TENAVAMUSKARI_VAASAN SUOMALAISEN SEURAKUNNAN P.jpg
    I shortened the original file name and removed the scandinavian A with dots on top of it and the comma from ther file name:
    HIETALAHTI TENAVAMUSK_VAASAN SUOMAL SRK PAIVAKERHO_cpy004_5000_02.jpg
    truncates to:
    HIETALAHTI TENAVAMUSK_VAASAN SUOMAL SRK PAIVAKERHO_cpy004_5.jpg
    the scandinavian alphabet is not a problem (the file names are not always clipped in their position).but causes some extra truncating:
    HIETALAHTI-TENAVAMUSKARI_VAASAN SUOMALAINEN PÄIVÄKERHO_CPY00.jpg turns into:
    HIETALAHTI-TENAVAMUSKARI_VAASAN SUOMALAINEN PÄIVÄKERHO_CP.jpg
    and
    HIETALAHTI-TENAVAMUSKARI_VAASAN SUOMALAINEN PÄIVÄKERHO_CPY0.jpg into same
    HIETALAHTI-TENAVAMUSKARI_VAASAN SUOMALAINEN PÄIVÄKERHO_CP.jpg
    This is why I havent found a good rule in this.
    In camera raw the whole file name shows under the preview image but  in saving the image the file naming example is truncated.
    Even the longest of our file names worked flawlessly  for several years until maybe two weeks ago.
    60 characters is top length that did not truncate in this testing

  • View full file names of mail attachment titles in MAIL application (Apple)

    I often get many attachments sent to me and when I am looking through emails for some reason all attachments show up as an ICON with a shortened version of the name of the file. It is always just the first 10 or so characters of the title and the last 3, which is usually the (.gif, .pdf, etc...)
    A lot of what I get usually has the similar titles and only seeing the first few characters is not making things easy for me to find exactly what I am looking for.
    Is there a way to view the full file name within the mail and within the application without having to open each file up each time in the APPLE MAIL application?
    Maybe there's a way to show all attachments as a list with a smaller icon?
    Anything that'll let me view the full title of all attachments would help.
    Thanks in advance for any suggestions.
    Message was edited by: KennyMac212

    I agree it is frustrating and literally just sent the wrong attachment to a customer because I was trying to live with the truncated filename system. I did find this nifty app called Mail Iconizer (http://lokiware.info/Mail-Attachments-Iconizer). It's pretty neat as it lets you control how attachments are viewed as well as pdfs and images (based on size). It's a free unlimited trial and $15 if you want to register so it's pretty inexpensive.

  • Missing Breadcrumbs Caused by Similar File Names

    Using RH9
    Producing both WebHelp and HTML Help (with missing breadcrumbs the same in both)
    Using only the SSL option to generate the breadcrumbs
    As in some previously posted cases, a few topics in a large project are missing breadcrumbs. There are no quotation marks or other unsual characters in the file names or titles. I was able to narrow down one error to something I could fix in a test project.
    In the following HHC entries, the breadcrumbs were missing from the "General Ledger Processing Recap (AM72)" topic when the help was generated. (Everything after the second item is a bookmarked TOC entry, with no breadcrumbs expected, but I left those items in the example in case they make a difference.)
    <item name="General Ledger Options" link="SYSOVER\General_Ledger_Options.htm">
    <item name="General Ledger Processing Recap (AM72)" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm">
      <item name="What is a General Ledger Processing Recap?" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#What_is_a_General_Ledger1">
      </item>
      <item name="Benefits of Using the General Ledger Processing Recap (AM72)" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Benefits_of_Using_the">
       <item name="User-Defined Recap Report" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#User_Defined_Recap_Report1">
       </item>
       <item name="Ease of Defining Interface Data" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Ease_of_Defining">
       </item>
       <item name="Operations Balancing" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Operations_Balancing1">
       </item>
      </item>
      <item name="Components of the General Ledger Processing Recap (AM72)" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Components_of_the">
       <item name="Section" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Section">
       </item>
       <item name="Line" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Line">
       </item>
       <item name="Item" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Item">
       </item>
      </item>
      <item name="Defining the General Ledger Processing Recap (AM72)" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Defining_the_General">
       <item name="Completing Worksheets" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Completing_Worksheets">
       </item>
      </item>
      <item name="Defining the Recap" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Defining_the_Recap">
       <item name="Entering the Recap Definition Online" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Entering_the_Recap">
       </item>
      </item>
      <item name="Defining the Section" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Defining_the_Section">
      </item>
      <item name="Defining the Lines" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Defining_the_Lines">
       <item name="Valid Escrow Source Codes" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Valid_Escrow_Source_Codes">
       </item>
       <item name="Entering the Recap Line Definition Online" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Entering_the_Recap_Line">
       </item>
      </item>
      <item name="Verifying the Recap Definition" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Verifying_the_Recap">
      </item>
      <item name="Building the Recap Definition Files" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Building_the_Recap">
       <item name="Processing Recap Structure Validation Report" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Processing_Recap">
       </item>
       <item name="Printing the Report Structure Validation Report and the Sample General Ledger Processing Recap" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Printing_the_Report">
       </item>
      </item>
    </item>
    </item>
    But when I changed the file name of the parent topic from General_Ledger_Options.htm to GenLdgrOpt.htm, the breadcrumbs appeared correctly in the output for the parent and child topics.
    This stragegy for fixing the breadcrumb problem seems to be hit-or-miss. For example, I've tried the same approach to fix another topic and have had no success so far. Is there anything about how breadcrumbs are generated that would explain how renaming the file would fix the problem?

    Rick,
    I think you are right about the file name length being an important factor, but the cause doesn't seem to be as simple as a too-deep nesting level. I was able to fix the problem in another topic by shortening the file name of the topic that preceded it at the same level.
    The one hard case that remains is a topic that contains a lot of bookmarked subheadings. I found that if I cut that topic's number of subheading TOC entries to 33, the breadcrumbs for the topic worked, but with 34 TOC entries, they did not. My best guess is that there is a limitation of some kind on the internal aggregation of TOC information -- including information about siblings and children.
    By the way, I also tried inserting breadcrumb placeholders, instead of automatically generating them. That caused RoboHelp to crash (instead of just failing to add breadcrumbs to the offending topic). When I removed the placeholder from the bad topic, it worked OK with the other topics.

Maybe you are looking for

  • Veritas NetBackup using backint: error -8020 Reply buffer filled

    Hi All I'm trying to configure NetBackup on one of our SAP BW 7.0 system with MaxDB 7.6.00.35 running on Linux. I followed sap help and configure the backint. But when I execute the backup I'm getting the following error. Constructed the following re

  • Mail no longer connects to Exchange Server

    Hi, I recently upgraded from 10.4 to 10.5. After the update everything was working fine, including Mail. It was talking to my Exchange server as it should. But I had to dabble. While I was previously connecting using IMAP I noticed the Exchange serve

  • Can my old iMac be upgraded for more memory and higher processor speed?

    I admit it - I'm not a computer geek.  I don't know much about how they work but am proficient in using them.  I have an older model iMac.  The specs are: Hardware Overview:   Model Name: iMac   Model Identifier: iMac6,1   Processor Name: Intel Core

  • Migration assistant/Time Capsule-TM/ Superduper transfer

    What would be easier: I am getting a new replacement iMac from Apple after I send back the iMac being replaced. Presently I use Superduper (back up software) to back up my system from my present imac to a FW 800 external hard drive. I also have a new

  • How to fix a position of a button

    Hello, I have a matrix report developed in Reports 5. This report includes a button to open a detail report when pressed. The button is located inside the matrix. This report runs well for Reports 5, but with 6i the button occurs in the upper left co