Page 1 of 1

importing through alias

PostPosted: Tue Mar 10, 2015 9:48 am
by LeroyAlex
Hi,

Question for you regarding the importation of folders from alias.
We have dfs disk for our team so we need to create shortcut to import from these dfs disk.
It works perfectly fine on windows but on Mac when i create an alias and drag it to the desktop, then import through importer i get an unknown format error message.
Any ideas to avoid that?

Best,

Alex.

Re: importing through alias

PostPosted: Tue Mar 10, 2015 11:07 am
by jmoore
Hi Alex,

the aliases files created by Mac are not currently supported by our Java stack. In order to explain why, I created an alias of a screenshot on my Desktop and then tested the files from the command-line:

Code: Select all
$ file screenshot.png
screenshot.png: PNG image data, 647 x 254, 8-bit/color RGBA, non-interlaced

$ file screenshot\ alias
screenshot alias: data


In comparison, if I create a symlink of the file, this happens:

Code: Select all
$ ln -s screenshot.png screenshot.link
$ file screenshot.link
screenshot.link: PNG image data, 647 x 254, 8-bit/color RGBA, non-interlaced


i.e. most tools will simply detect the fact that a symlink points to an image, whereas Mac aliases require more native information from the Mac OS.

Cheers,
~Josh.

Re: importing through alias

PostPosted: Tue Mar 10, 2015 12:45 pm
by LeroyAlex
Hi,

Hmm Ok, so nothing i can do except to tell them to first copy their folder on their computer and then import them with importer.

Best,

Alex.

Re: importing through alias

PostPosted: Tue Mar 10, 2015 1:21 pm
by jmoore
Using a symlink created from the command-line would work, but that's not something everyone is familiar with. There are a number of suggestions listed on pages like http://superuser.com/questions/24095/create-a-symbolic-link-in-the-mac-os-x-finder, but still not ideal.

Sorry not to be able to help more.
~Josh.

Re: importing through alias

PostPosted: Thu Mar 12, 2015 9:12 am
by LeroyAlex
Hi,

Thanks for your answer.
I ll have to try cause it does not look simple.

Best,

Alex.