Filebrowser-commands.conf

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
K
 
Zeile 3: Zeile 3:
 
{{Box Datei | $VDRCONFIG/plugins/filebrowser/commands.conf |
 
{{Box Datei | $VDRCONFIG/plugins/filebrowser/commands.conf |
 
<pre>
 
<pre>
Mkdir:*:mkdir "%D" && echo Created %D
+
Mkdir:*:mkdir %D && echo Created %D
Copy:*:cp -r "%M" "%D" && echo Copied %M to %D
+
Copy:*:cp -r %M %D && echo Copied %M to %D
Move:*:mv "%M" "%D" && echo Moved %M to %D
+
Move:*:mv %M %D && echo Moved %M to %D
File type:*:file "%f"
+
File type:*:file %f
Playlist:*:for p in "%M" ; do echo ${p/#\/\///} ; done > /tmp/playlist && echo Created /tmp/playlist
+
Playlist:*:for p in %M ; do echo ${p/#\/\///} ; done > /tmp/playlist && echo Created /tmp/playlist
Execute?:*:"%f"
+
Execute?:*:%f
Remove?:*:rm -rf "%m" && echo Removed %M
+
Remove?:*:rm -rf %m && echo Removed %M
 
</pre>
 
</pre>
 
}}
 
}}
  
 
[[Kategorie:Konfigurationsdateien]]
 
[[Kategorie:Konfigurationsdateien]]

Version vom 19. November 2005, 03:34 Uhr

Konfigurationsdatei des filebrowser-plugins.

Datei
$VDRCONFIG/plugins/filebrowser/commands.conf
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