Current Path: > > usr > libexec > > mc > > extfs.d > >
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.135 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
README | File | 7462 bytes | March 04 2017 17:26:20. | |
README.extfs | File | 1134 bytes | February 24 2017 20:25:57. | |
a+ | File | 3206 bytes | October 18 2019 20:37:56. | |
apt+ | File | 9726 bytes | October 18 2019 20:37:56. | |
audio | File | 1320 bytes | October 18 2019 20:37:56. | |
bpp | File | 1207 bytes | February 24 2017 20:25:57. | |
changesetfs | File | 2562 bytes | February 24 2017 20:25:57. | |
deb | File | 5464 bytes | October 18 2019 20:37:56. | |
deba | File | 3074 bytes | October 18 2019 20:37:56. | |
debd | File | 10503 bytes | October 18 2019 20:37:56. | |
dpkg+ | File | 8998 bytes | October 18 2019 20:37:56. | |
gitfs+ | File | 782 bytes | February 24 2017 20:25:57. | |
hp48+ | File | 3661 bytes | October 18 2019 20:37:56. | |
iso9660 | File | 5781 bytes | October 18 2019 20:37:56. | |
lslR | File | 1410 bytes | October 18 2019 20:37:56. | |
mailfs | File | 5720 bytes | October 18 2019 20:37:56. | |
patchfs | File | 11146 bytes | October 18 2019 20:37:56. | |
patchsetfs | File | 2310 bytes | February 24 2017 20:25:57. | |
rpm | File | 13569 bytes | March 04 2017 17:26:20. | |
rpms+ | File | 1509 bytes | October 18 2019 20:37:56. | |
trpm | File | 7836 bytes | February 24 2017 20:25:57. | |
u7z | File | 4823 bytes | March 04 2017 17:26:20. | |
uace | File | 1508 bytes | October 18 2019 20:37:56. | |
ualz | File | 1280 bytes | October 18 2019 20:37:56. | |
uar | File | 1323 bytes | October 18 2019 20:37:56. | |
uarc | File | 1828 bytes | October 18 2019 20:37:56. | |
uarj | File | 1655 bytes | October 18 2019 20:37:56. | |
ucab | File | 734 bytes | October 18 2019 20:37:56. | |
uha | File | 969 bytes | October 18 2019 20:37:56. | |
ulha | File | 3870 bytes | October 18 2019 20:37:56. | |
ulib | File | 2825 bytes | October 18 2019 20:37:56. | |
urar | File | 4474 bytes | October 18 2019 20:37:56. | |
uzip | File | 15261 bytes | October 18 2019 20:37:56. | |
uzoo | File | 1601 bytes | October 18 2019 20:37:56. |
#! /usr/bin/perl -w # # External filesystem for mc, using mtools # Written Ludek Brukner <lubr@barco.cz>, 1997 # Much improved by Tom Perkins <968794022@noid.net>, 2000 # # WARNING - This software is ALPHA - Absolutely NO WARRANTY # # These mtools components must be in PATH for this to work sub quote { $_ = shift(@_); s/([^\w\/.+-])/\\$1/g; return($_); } $mmd = "mmd"; $mrd = "mrd"; $mdel = "mdel"; $mdir = "mdir -a"; $mcopy = "mcopy -noQ"; $0 =~ s|.*/||; $qdisk = quote($0); $ENV{MTOOLS_DATE_STRING} = "mm-dd-yyyy"; $ENV{MTOOLS_TWENTY_FOUR_HOUR_CLOCK} = "1"; SWITCH: for ( $ARGV[0] ) { /list/ && do { @dirs = get_dirs(""); while ($dir = shift(@dirs)) { push @dirs, get_dirs("$dir/"); } exit 0; }; /mkdir/ && do { shift; shift; exit 1 if scalar(@ARGV) != 1; $qname = quote($ARGV[0]); system("$mmd $qdisk:/$qname >/dev/null"); exit 0; }; /rmdir/ && do { shift; shift; exit 1 if scalar(@ARGV) != 1; $qname = quote($ARGV[0]); system("$mrd $qdisk:/$qname >/dev/null"); exit 0; }; /rm/ && do { shift; shift; exit 1 if scalar(@ARGV) != 1; $qname = quote($ARGV[0]); system("$mdel $qdisk:/$qname >/dev/null"); exit 0; }; /copyout/ && do { shift; shift; exit 1 if scalar(@ARGV) != 2; ( $qsrc, $qdest ) = @ARGV; $qsrc = quote($qsrc); $qdest = quote($qdest); system("$mcopy $qdisk:/$qsrc $qdest >/dev/null"); exit 0; }; /copyin/ && do { shift; shift; exit 1 if scalar(@ARGV) != 2; ( $qdest, $qsrc ) = @ARGV; $qsrc = quote($qsrc); $qdest = quote($qdest); system("$mcopy $qsrc $qdisk:/$qdest >/dev/null"); exit 0; }; /.*/ && do { # an unfamiliar command exit 1; }; } sub get_dirs { my ($path, $name, $size, $date, $time, $longname, @lst, @rv); $path = shift(@_); my $qpath = quote($path); @rv = (); open(FILE,"$mdir $qdisk:/$qpath |"); while ( <FILE> ) { chomp(); /^ / && next; # ignore `non-file' lines m{^Directory for $0:/}i && next; # ignore `non-file' lines /^$/ && next; # ignore empty lines /^\.\.?/ && next; # ignore `.' and `..' $name = substr($_,0,12); $name =~ s/^([^ ]*) +([^ ]+)[ \t]*$/$1.$2/; $name =~ s/[ .]+$//; $_ = substr($_,12); s/^[ ]+//; ($size,$date,$time,$longname) = split(/[ \t]+/, $_, 4); defined $time || next; # process "am" and "pm". Should not be needed if # MTOOLS_TWENTY_FOUR_HOUR_CLOCK is respected. @lst = split(/([:ap])/, $time); $lst[0] += 12 if (defined $lst[3] && $lst[3] eq "p"); $time = sprintf("%02d:%02d", $lst[0], $lst[2]); @lst = split(/-/, $date); $lst[2] %= 100 if ($lst[2] > 100); $date = sprintf ("%02d-%02d-%02d", @lst); $name = $path . lc(($longname) ? $longname : $name); if ($size =~ /DIR/) { printf("drwxr-xr-x 1 %-8d %-8d %8d %s %s %s\n", 0, 0, 0, $date, $time, $name); push @rv, $name; } else { printf("-rw-r--r-- 1 %-8d %-8d %8d %s %s %s\n", 0, 0, $size, $date, $time, $name); } } close(FILE); return @rv; } 1;
SILENT KILLER Tool