Shortcut with arguments in Debian
        Posted  
        
            by 
                Duncan
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Duncan
        
        
        
        Published on 2010-07-29T15:22:52Z
        Indexed on 
            2011/01/08
            15:55 UTC
        
        
        Read the original article
        Hit count: 223
        
linux
I have a volume on a debian server which contains a large number of images at full resolution in various folders. What I'd like to do is have a separate sort of browse proxy folder which contains lower quality browse copies of these to enable users to access them for viewing over lower speed dial in accounts.
I'd ideally like these to be created on the fly using ImageMagick so there isnt the need to store the large number of browse copies full time and worry about keeping them up to date etc
The way I'd invisaged this happening is the browse proxy folder containing a duplicate file and folder structure but with symlinks pointing to a script to transform them with the file path as an argument. Except I know this isnt possible with symlinks so am wondering if there's another way of doing this on linux. On windows shortcuts can take arguments and I'm wondering how to do the same on a Linux platform? (or perhaps I'm going about this the wrong way?)
© Server Fault or respective owner