|  08-30-2011, 06:21 PM | #1 | 
| Enthusiast  Posts: 40 Karma: 10 Join Date: Jun 2010 Device: Sony 900 | 
				
				File Names to long?
			 
			
			I have a library and want to move it to portable from my local drive, however when i attempt to copy it via win7 it errors out with a filename to long message? The Library works great on my local windows machine but I wanted to put it on my new 500gb portable drive, but I cannot get around this error.... Thanks, Jonathon | 
|   |   | 
|  08-30-2011, 08:07 PM | #2 | |
| Well trained by Cats            Posts: 31,249 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | Quote: 
 Since the Calibre Library can be many folders deep with long Author names and Titles, it needs to be close to the drive root (and that folder should be a short name also) | |
|   |   | 
|  08-30-2011, 08:19 PM | #3 | 
| You kids get off my lawn!            Posts: 4,220 Karma: 73492664 Join Date: Aug 2007 Location: Columbus, Ohio Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of | 
			
			I don't remember exactly which version it was, but I believe somewhere around 0.8.11 the filename length was shortened to 75 characters.  It's why I'm still running 0.8.6.  My library is currently deeper than that and I don't feel like figuring out where to put it.
		 | 
|   |   | 
|  08-30-2011, 09:28 PM | #4 | 
| reader            Posts: 6,977 Karma: 5183568 Join Date: Mar 2006 Location: Mississippi, USA Device: Kindle 3, Kobo Glo HD | 
			
			From your description, the error is coming from Windows.  The FAT32 filesystem, commonly used on portable storage devices, has a maximum file length of 256 characters.  This is from the root to the filename extension, including all the \ characters, see Wiki: Long filename.  So, as theducks said, the first work around to try is to shorten any folder names that appear before you get to the Calibre primary folder.  From the wiki description, it might be the short name of each folder that counts, and if so then it is the number of folder's deep the Calibre folder starts from that matters the most.  If your actual filenames (after the last \) are longer than about 200 characters then you probably are screwed.  However, FizzyWater's comment suggests that they are likely not that long.
		 | 
|   |   | 
|  08-31-2011, 01:17 AM | #5 | 
| You kids get off my lawn!            Posts: 4,220 Karma: 73492664 Join Date: Aug 2007 Location: Columbus, Ohio Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of | 
			
			I found where this came up before - read this thread for more details.
		 | 
|   |   | 
|  08-31-2011, 03:21 AM | #6 | 
| eBook Enthusiast            Posts: 85,560 Karma: 93980341 Join Date: Nov 2006 Location: UK Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6 | 
			
			If this is a new external drive and it's using the FAT32 file system, reformat it as NTFS - that should fix the problem.
		 | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Calibre File Names | ll Legion ll | Calibre | 4 | 10-13-2010 05:03 PM | 
| Configuration of File Names | Desertway | Calibre | 4 | 03-07-2010 07:16 PM | 
| ADE and long chapter names in ToC | frabjous | Reading and Management | 3 | 08-14-2009 11:16 AM | 
| Files with long names? | cmhsieh54 | iRex | 0 | 08-05-2009 12:43 PM | 
| File Names | Vulcan | Sony Reader | 4 | 01-02-2009 04:03 PM |