SILENT KILLERPanel

Current Path: > > usr > libexec > mc > > extfs.d >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //usr/libexec/mc//extfs.d/

NameTypeSizeLast ModifiedActions
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.

Reading File: //usr/libexec/mc//extfs.d//uarc

#! /bin/sh

#
# ARC Virtual filesystem executive
# Copyright (C) 2008 Jacques Pelletier
# May be distributed under the terms of the GNU Public License
# <jpelletier@ieee.org>
#

# Define which archiver you are using with appropriate options
ARC_LIST=${MC_TEST_EXTFS_LIST_CMD:-"arc v"}
ARC_GET="arc x"
ARC_PUT="arc a"
ARC_DEL="arc d"

# The 'list' command executive

mc_arc_fs_list()
{
    if [ "x$UID" = "x" ]; then
        UID=`id -ru 2>/dev/null`
        if [ "x$UID" = "x" ]; then
            UID=0
        fi
    fi
    $ARC_LIST "$1" | gawk -v uid=$UID '
BEGIN {
  # Copied from uzoo.in.
  split("Jan:Feb:Mar:Apr:May:Jun:Jul:Aug:Sep:Oct:Nov:Dec", month_list, ":")
  for (i=1; i<=12; i++) {
    month[month_list[i]] = i
  }
}
/^Name/ { next }
/===/ { next }
/^Total/ { next }
{
        if ($8 > 50)
        $8=$8 + 1900
        else
        $8=$8 + 2000

        split($9, a, ":")

        # convert AM/PM to 00-23
        if (a[2] ~ /a$|p$/)
        {
                if (a[2] ~ /p$/)
                        a[1] = a[1]+12

                a[2]=substr(a[2],1,2)
        }

        printf "-rw-r--r--   1 %-8d %-8d %8d %02d-%02d-%04d %02d:%02d %s\n", uid, 0, $2, month[$7], $6, $8, a[1], a[2], $1
}' 2>/dev/null
    exit 0
}

# Command: copyout archivename storedfilename extractto
mc_arc_fs_copyout()
{
   $ARC_GET "$1" "$2" 2> /dev/null
        mv "$2" "$3"
}

# Command: copyin archivename storedfilename sourcefile
mc_arc_fs_copyin()
{
	mv "$3" "$2"
	$ARC_PUT "$1" "$2" 2> /dev/null
}

# Command: rm archivename storedfilename
mc_arc_fs_rm()
{
	$ARC_DEL "$1" "$2" 2> /dev/null
}

# The main routine
umask 077

cmd="$1"
shift

case "$cmd" in
   list)	mc_arc_fs_list 	  "$@" ;;
   copyout) mc_arc_fs_copyout "$@" ;;
   copyin)	mc_arc_fs_copyin  "$@" ;;
   rm)		mc_arc_fs_rm      "$@" ;;
   *)       exit 1 ;;
esac
exit 0

SILENT KILLER Tool