4 # ACE Virtual filesystem executive v0.1
5 # Works with unace v2.5
7 # Copyright (C) 2008 Jacques Pelletier
8 # May be distributed under the terms of the GNU Public License
9 # <jpelletier@ieee.org>
12 # Define which archiver you are using with appropriate options
15 # ACE_PUT="unace ?" not available
17 # The 'list' command executive
19 # Unace: DD.MM.YY HH.MM packed size ratio file
23 if [ "x$UID" = "x" ]; then
24 UID
=`id -ru 2>/dev/null`
25 if [ "x$UID" = "x" ]; then
29 $ACE_LIST "$1" | @AWK@
-v uid
=$UID '
30 BEGIN { Month="JanFebMarAprMayJunJulAugSepOctNovDec" }
35 date[3]=date[3] + 1900
37 date[3]=date[3] + 2000
39 printf "-rw-r--r-- 1 %-8d %-8d %8d %s %2d %4d %s %s\n", uid, 0, $3, substr(Month,3*(date[2]-1)+1,3),date[1],date[3], $2, $6
44 # Command: copyout archivename storedfilename extractto
47 $ACE_GET "$1" "$2" > /dev
/null
2>&1
58 list
) mc_ace_fs_list
"$@" ;;
59 copyout
) mc_ace_fs_copyout
"$@" ;;