[PLUG] Create symbolic link with "strange" file name.

Aaron Baer aaron at slyness.org
Mon Aug 27 18:42:02 UTC 2007


To work around a broken html file referenced from a external site I don't
have access to <frame src=""> tag which was recently updated with a broken
image link I'm trying to create a symbolic link from the original file to
the broken file name. However, ln seems to think I'm trying to give it an
option to perform.. I've tried to escape with '-' and \- and
"-_filename.gif" but it all seems to not work.. Any ideas?

$ sudo -u www-data ln -s news_banner.gif '-'_banner.gif
ln: invalid option -- _
Try `ln --help' for more information.

However, This does work but is a different file name so is only half of my
problem solved:

$ sudo -u www-data ln -s arc_right_news.gif arc_right_'-'.gif

Thanks,
A-

-- 
----
Aaron Baer
aaron at slyness.org
http://aaron.slyness.org/



More information about the PLUG mailing list