On a standard photo Gallery, you can select to mount Gallery on your desktop with a WebDAV client. I searched for an easy solution to mount webdav from the browser but was not able to find any scripts doing so with only one click. See the first picture to see how you find the link on a Gallery 2.0.
Here is the simple script: (Read more for an advanced script)
#!/bin/sh DAVURL=`cat "$1" | grep ":url" | egrep -o "http[^< \"]+"` DIR=`echo $DAVURL | egrep -o "[a-zA-Z0-9\.]" |xargs | sed s/\ //gi` MOUNTPATH="/media/webdav.$DIR" gksu -- mkdir $MOUNTPATH gksu -- mount.davfs -onoaskauth $DAVURL $MOUNTPOINT nautilus $MOUNTPOINT
Continue reading ‘mount WebDav in Ubuntu/Linux from FireFox’



Recent Comments