X-Git-Url: https://git.phdru.name/?p=extfs.d.git;a=blobdiff_plain;f=torrent;h=d3f312ec581996ec0548d5d67113837976b5233f;hp=b02c90de0d4e1d33294dae16e6e849675c02f799;hb=d4a65630f87d5732b003a33b75bc1bed430f43b6;hpb=2e40fbd141c426ad8eacf3ecaff7a1ab5aa3fdce diff --git a/torrent b/torrent index b02c90d..d3f312e 100755 --- a/torrent +++ b/torrent @@ -5,16 +5,17 @@ The script requires Midnight Commander 3.1+ (http://www.midnight-commander.org/), Python 2.4+ (http://www.python.org/), module eff_bdecode.py (http://effbot.org/zone/bencode.htm). -For mc 4.7+ put the script in $HOME/.mc/extfs.d. +For mc 4.7+ put the script in $HOME/[.local/share/].mc/extfs.d. For older versions put it in /usr/[local/][lib|share]/mc/extfs and add a line "torrent" to the /usr/[local/][lib|share]/mc/extfs/extfs.ini. Make the script executable. -Run this "cd" command in the Midnight Commander (in the "bindings" file the -command is "%cd"): cd file#torrent, where "file" is the name of your torrent -metafile. The VFS lists all files and directories from the torrent metafile; -all files appear empty, of course, but the sizes are shown. Filenames are -reencoded from the metafile's encoding/codepage to the current locale. +For mc 4.7+ run this "cd" command in the Midnight Commander (in the "bindings" +file the command is "%cd"): cd file/torrent://; In older versions it is +cd file#torrent, where "file" is the name of your torrent metafile. The VFS +lists all files and directories from the torrent metafile; all files appear +empty, of course, but the sizes are shown. Filenames are reencoded from the +metafile's encoding/codepage to the current locale. Along with the files/directories in the torrent metafile the VFS also presents meta information - in the form of files in .META directory. The size and @@ -73,7 +74,7 @@ Torrent Virtual FileSystem for Midnight Commander version %s Author: %s %s -This is not a program. Put the script in $HOME/.mc/extfs.d or +This is not a program. Put the script in $HOME/[.local/share/].mc/extfs.d or /usr/[local/][lib|share]/mc/extfs. For more information read the source!""", __version__, __author__, __copyright__ )