hackappcom / iloot

OpenSource tool for iCloud backup extraction
https://hackapp.com/
634 stars 203 forks source link

The filename or extension is too long #56

Open martynball opened 8 years ago

martynball commented 8 years ago

Getting the following error when attempting to download my iCloud backup!

WindowsError: [Error 206] The filename or extension is too long: u'output\6ec10 48b2041b245b29eab874be26ac97a21ba2a\snapshot_1/KeyboardDomain\Library/Keyboard /CoreDataUbiquitySupport/mobile~8B696293-3C45-5876-8CD6-3F97ED896464/UserDiction ary/7CA0B13C-C4B3-422E-8274-C72362275AA0'

How can I fix this?

danjng commented 8 years ago

What are the parameters that you are passing in?

If you're using --itunes-style, you may be able to shorten the output filenames by dropping that parameter and outputting human-readable filenames.

martynball commented 8 years ago

Ah, not using any parameters apart from the login information, I will try that thanks.

danjng commented 8 years ago

Actually, I think there may have been a slight misunderstanding. On my part, I thought that not having --itunes-style would make paths shorter, but in reality, you would have shortened paths (being output in a flat file structure), with mangled filenames.

If you use --itunes-style, the data should all be there, but the filenames will be weird. You can certainly give that a shot, especially if you are looking for something in particular (and specify even more by indicating the item-types you want to grab).

Outside of that, it does seem to be an OS-related issue. Have you tried running these commands from a 'less deep' path? E.g. C:\stuff instead of C:\Users\username\Desktop\ridiculouslylongfoldername

Hope that helps clear things up a bit.

martynball commented 8 years ago

Seems to be working perfect, thanks ! Used --itunes-style and I moved to a less deep path. On Thu, 30 Jul 2015 at 5:13 am, Dan notifications@github.com wrote:

Actually, I think there may have been a slight misunderstanding. On my part, I thought that not having --itunes-style would make paths shorter, but in reality, you would have shortened paths (being output in a flat file structure), with mangled filenames.

If you use --itunes-style, the data should all be there, but the filenames will be weird. You can certainly give that a shot, especially if you are looking for something in particular (and even specify even more by indicating the file-types you want to grab).

Outside of that, it does seem to be an OS-related issue. Have you tried running these commands from a 'less deep' path? E.g. C:\stuff instead of C:\Users\username\Desktop\ridiculouslylongfoldername

Hope that helps clear things up a bit.

— Reply to this email directly or view it on GitHub https://github.com/hackappcom/iloot/issues/56#issuecomment-126177684.

shoney123 commented 8 years ago

I had the same problem with the file extensions, and I used --itunes-style to work around the issue and it worked to perfection.

Is there a good way to easily open the files created by --itunes-style? Windows doesn't like them, and I have to manually select which program to use.