Filebrowser-commands.conf
Aus VDR Wiki
(Unterschied zwischen Versionen)
({,u}mount) |
|||
Zeile 10: | Zeile 10: | ||
Execute?:*:%f | Execute?:*:%f | ||
Remove?:*:rm -rf %m && echo Removed %M | Remove?:*:rm -rf %m && echo Removed %M | ||
+ | Mount:!grep -E '[^[%:blank%:]]*[[%:blank%:]]*'%f'[[%:blank%:]]+' /etc/fstab >&1 >/dev/null:mount %f | ||
+ | Unmount:!grep -E '[^[%:blank%:]]*[[%:blank%:]]*'%f'[[%:blank%:]]+' /etc/mtab >&1 >/dev/null:umount %f | ||
</pre> | </pre> | ||
}} | }} | ||
[[Kategorie:Konfigurationsdateien]] | [[Kategorie:Konfigurationsdateien]] |
Version vom 29. November 2005, 17:35 Uhr
Konfigurationsdatei des filebrowser-plugins.
Mkdir:*:mkdir %D && echo Created %D Copy:*:cp -r %M %D && echo Copied %M to %D Move:*:mv %M %D && echo Moved %M to %D File type:*:file %f Playlist:*:for p in %M ; do echo ${p/#\/\///} ; done > /tmp/playlist && echo Created /tmp/playlist Execute?:*:%f Remove?:*:rm -rf %m && echo Removed %M Mount:!grep -E '[^[%:blank%:]]*[[%:blank%:]]*'%f'[[%:blank%:]]+' /etc/fstab >&1 >/dev/null:mount %f Unmount:!grep -E '[^[%:blank%:]]*[[%:blank%:]]*'%f'[[%:blank%:]]+' /etc/mtab >&1 >/dev/null:umount %f