Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
bin /
[ HOME SHELL ]
Name
Size
Permission
Action
X11
[ DIR ]
drwxr-xr-x
mh
[ DIR ]
drwxr-xr-x
411toppm
18.02
KB
-rwxr-xr-x
AutoSearch
66.17
KB
-rwxr-xr-x
GET
15.82
KB
-rwxr-xr-x
HEAD
15.82
KB
-rwxr-xr-x
Mail
110.4
KB
-rwxr-xr-x
NF
963
B
-rwxr-xr-x
POST
15.82
KB
-rwxr-xr-x
SOAPsh
2.75
KB
-rwxr-xr-x
VGAuthService
134.54
KB
-rwxr-xr-x
WebSearch
11.78
KB
-rwxr-xr-x
X
274
B
-rwxr-xr-x
Xorg
274
B
-rwxr-xr-x
[
50.44
KB
-rwxr-xr-x
aa-enabled
34.52
KB
-rwxr-xr-x
aa-exec
34.52
KB
-rwxr-xr-x
aa-features-abi
30.52
KB
-rwxr-xr-x
ab
58.43
KB
-rwxr-xr-x
ac
30.95
KB
-rwxr-xr-x
ack
72.86
KB
-rwxr-xr-x
aclocal
35.18
KB
-rwxr-xr-x
aclocal-1.16
35.18
KB
-rwxr-xr-x
acorn
62
B
-rwxr-xr-x
add-apt-repository
14.14
KB
-rwxr-xr-x
add-patch
8.14
KB
-rwxr-xr-x
addftinfo
26.46
KB
-rwxr-xr-x
addpart
14.38
KB
-rwxr-xr-x
addr2line
26.7
KB
-rwxr-xr-x
addr2name
50
B
-rwxr-xr-x
afm2pl
38.53
KB
-rwxr-xr-x
afm2tfm
52.56
KB
-rwxr-xr-x
afmtodit
161.91
KB
-rwxr-xr-x
agentxtrap
26.38
KB
-rwxr-xr-x
aleph
523.81
KB
-rwxr-xr-x
alpine
6.53
MB
-rwxr-xr-x
alpinef
6.53
MB
-rwxr-xr-x
analog
443.84
KB
-rwxr-xr-x
animate
14.15
KB
-rwxr-xr-x
animate-im6
14.15
KB
-rwxr-xr-x
animate-im6.q16
14.15
KB
-rwxr-xr-x
annotate
14.15
KB
-rwxr-xr-x
annotate-output
2.19
KB
-rwxr-xr-x
anytopnm
5.55
KB
-rwxr-xr-x
appletviewer
14.32
KB
-rwxr-xr-x
apport-bug
2.51
KB
-rwxr-xr-x
apport-cli
13.05
KB
-rwxr-xr-x
apport-collect
2.51
KB
-rwxr-xr-x
apport-unpack
2.02
KB
-rwxr-xr-x
appres
14.3
KB
-rwxr-xr-x
apropos
47.28
KB
-rwxr-xr-x
apt
18.38
KB
-rwxr-xr-x
apt-add-repository
14.14
KB
-rwxr-xr-x
apt-cache
82.47
KB
-rwxr-xr-x
apt-cdrom
26.47
KB
-rwxr-xr-x
apt-config
26.39
KB
-rwxr-xr-x
apt-extracttemplates
22.47
KB
-rwxr-xr-x
apt-ftparchive
230.48
KB
-rwxr-xr-x
apt-get
50.47
KB
-rwxr-xr-x
apt-key
27.51
KB
-rwxr-xr-x
apt-mark
50.47
KB
-rwxr-xr-x
apt-sortpkgs
38.4
KB
-rwxr-xr-x
aptitude
3.36
MB
-rwxr-xr-x
aptitude-changelog-parser
522
B
-rwxr-xr-x
aptitude-create-state-bundle
1.89
KB
-rwxr-xr-x
aptitude-curses
3.36
MB
-rwxr-xr-x
aptitude-run-state-bundle
2.78
KB
-rwxr-xr-x
ar
54.48
KB
-rwxr-xr-x
arch
30.51
KB
-rwxr-xr-x
archpath
1.24
KB
-rwxr-xr-x
as
456.4
KB
-rwxr-xr-x
asciitopgm
14.02
KB
-rwxr-xr-x
aspell
142.48
KB
-rwxr-xr-x
aspell-import
2
KB
-rwxr-xr-x
at
54.32
KB
-rwsr-sr-x
atktopbm
14.02
KB
-rwxr-xr-x
atq
54.32
KB
-rwsr-sr-x
atrm
54.32
KB
-rwsr-sr-x
attr
14.3
KB
-rwxr-xr-x
autoconf
14.85
KB
-rwxr-xr-x
autoexpect
7.53
KB
-rwxr-xr-x
autoheader
8.82
KB
-rwxr-xr-x
autom4te
32.69
KB
-rwxr-xr-x
automake
255.91
KB
-rwxr-xr-x
automake-1.16
255.91
KB
-rwxr-xr-x
autopasswd
378
B
-rwxr-xr-x
autoreconf
26.3
KB
-rwxr-xr-x
autoscan
16.77
KB
-rwxr-xr-x
autosp
46.32
KB
-rwxr-xr-x
autoupdate
33.22
KB
-rwxr-xr-x
awk
688.46
KB
-rwxr-xr-x
aws
815
B
-rwxr-xr-x
aws_completer
1.11
KB
-rwxr-xr-x
axohelp
78.39
KB
-rwxr-xr-x
b2sum
50.52
KB
-rwxr-xr-x
base32
34.51
KB
-rwxr-xr-x
base64
34.51
KB
-rwxr-xr-x
basename
34.51
KB
-rwxr-xr-x
basenc
46.51
KB
-rwxr-xr-x
bash
1.33
MB
-rwxr-xr-x
bashbug
6.66
KB
-rwxr-xr-x
batch
152
B
-rwxr-xr-x
bc
90.82
KB
-rwxr-xr-x
bdf2gdfont
4.58
KB
-rwxr-xr-x
bdftogd
3.9
KB
-rwxr-xr-x
benchmark
584
B
-rwxr-xr-x
bibtex
114.38
KB
-rwxr-xr-x
bibtex.original
114.38
KB
-rwxr-xr-x
bibtex8
138.95
KB
-rwxr-xr-x
bibtexu
146.91
KB
-rwxr-xr-x
bioradtopgm
14.02
KB
-rwxr-xr-x
bison
492.8
KB
-rwxr-xr-x
bison.yacc
4.12
KB
-rwxr-xr-x
bmptopnm
18.05
KB
-rwxr-xr-x
bmptoppm
18.05
KB
-rwxr-xr-x
boltctl
122.98
KB
-rwxr-xr-x
bootctl
70.49
KB
-rwxr-xr-x
botti
613.23
KB
-rwxr-xr-x
browse
25.46
KB
-rwxr-xr-x
browserslist
4.06
KB
-rwxr-xr-x
brushtopbm
14.02
KB
-rwxr-xr-x
bsd-mailx
110.4
KB
-rwxr-xr-x
btrfs
844.13
KB
-rwxr-xr-x
btrfs-convert
483.25
KB
-rwxr-xr-x
btrfs-find-root
439.33
KB
-rwxr-xr-x
btrfs-image
467.25
KB
-rwxr-xr-x
btrfs-map-logical
439.25
KB
-rwxr-xr-x
btrfs-select-super
439.25
KB
-rwxr-xr-x
btrfsck
844.13
KB
-rwxr-xr-x
btrfstune
443.26
KB
-rwxr-xr-x
bts
139.68
KB
-rwxr-xr-x
build-rdeps
16.68
KB
-rwxr-xr-x
buildhash
46.7
KB
-rwxr-xr-x
bundle
560
B
-rwxr-xr-x
bundle3.0
529
B
-rwxr-xr-x
bundler
562
B
-rwxr-xr-x
bundler3.0
531
B
-rwxr-xr-x
bunzip2
38.38
KB
-rwxr-xr-x
busctl
90.49
KB
-rwxr-xr-x
busybox
2.09
MB
-rwxr-xr-x
byebug
539
B
-rwxr-xr-x
byobu
8.17
KB
-rwxr-xr-x
byobu-config
996
B
-rwxr-xr-x
byobu-ctrl-a
4.66
KB
-rwxr-xr-x
byobu-disable
1.26
KB
-rwxr-xr-x
byobu-disable-prompt
1.31
KB
-rwxr-xr-x
byobu-enable
1.15
KB
-rwxr-xr-x
byobu-enable-prompt
1.42
KB
-rwxr-xr-x
byobu-export
1.32
KB
-rwxr-xr-x
byobu-janitor
6.29
KB
-rwxr-xr-x
byobu-keybindings
1.47
KB
-rwxr-xr-x
byobu-launch
3.25
KB
-rwxr-xr-x
byobu-launcher
1.87
KB
-rwxr-xr-x
byobu-launcher-install
2.4
KB
-rwxr-xr-x
byobu-launcher-uninstall
1.52
KB
-rwxr-xr-x
byobu-layout
3.27
KB
-rwxr-xr-x
byobu-prompt
1.13
KB
-rwxr-xr-x
byobu-quiet
1.38
KB
-rwxr-xr-x
byobu-reconnect-sockets
3.22
KB
-rwxr-xr-x
byobu-screen
8.17
KB
-rwxr-xr-x
byobu-select-backend
1.42
KB
-rwxr-xr-x
byobu-select-profile
5
KB
-rwxr-xr-x
byobu-select-session
1012
B
-rwxr-xr-x
byobu-shell
1.56
KB
-rwxr-xr-x
byobu-silent
1.28
KB
-rwxr-xr-x
byobu-status
5.87
KB
-rwxr-xr-x
byobu-status-detail
1.18
KB
-rwxr-xr-x
byobu-tmux
8.17
KB
-rwxr-xr-x
byobu-ugraph
4.56
KB
-rwxr-xr-x
byobu-ulevel
11.71
KB
-rwxr-xr-x
bzcat
38.38
KB
-rwxr-xr-x
bzcmp
2.17
KB
-rwxr-xr-x
bzdiff
2.17
KB
-rwxr-xr-x
bzegrep
3.69
KB
-rwxr-xr-x
bzexe
4.78
KB
-rwxr-xr-x
bzfgrep
3.69
KB
-rwxr-xr-x
bzgrep
3.69
KB
-rwxr-xr-x
bzip2
38.38
KB
-rwxr-xr-x
bzip2recover
14.3
KB
-rwxr-xr-x
bzless
1.27
KB
-rwxr-xr-x
bzmore
1.27
KB
-rwxr-xr-x
c++
910.82
KB
-rwxr-xr-x
c++filt
22.27
KB
-rwxr-xr-x
c89
428
B
-rwxr-xr-x
c89-gcc
428
B
-rwxr-xr-x
c99
454
B
-rwxr-xr-x
c99-gcc
454
B
-rwxr-xr-x
c_rehash
6.8
KB
-rwxr-xr-x
cal
36.95
KB
-rwxr-xr-x
calc_tickadj
2.78
KB
-rwxr-xr-x
captoinfo
86.41
KB
-rwxr-xr-x
cat
34.46
KB
-rwxr-xr-x
catman
34.76
KB
-rwxr-xr-x
cautious-launcher
853
B
-rwxr-xr-x
cc
906.82
KB
-rwxr-xr-x
ccache-swig
54.23
KB
-rwxr-xr-x
ccache-swig4.0
54.23
KB
-rwxr-xr-x
ccze
47.52
KB
-rwxr-xr-x
ccze-cssdump
18.88
KB
-rwxr-xr-x
cgclassify
14.45
KB
-rwxr-xr-x
cgcreate
14.57
KB
-rwxr-xr-x
cgdelete
14.38
KB
-rwxr-xr-x
cgexec
14.41
KB
-rwxr-xr-x
cgget
22.38
KB
-rwxr-xr-x
cgset
14.38
KB
-rwxr-xr-x
cgsnapshot
22.54
KB
-rwxr-xr-x
chacl
22.3
KB
-rwxr-xr-x
chage
70.49
KB
-rwxr-sr-x
chardet
965
B
-rwxr-xr-x
chardetect
965
B
-rwxr-xr-x
chartex
5.68
KB
-rwxr-xr-x
chattr
14.31
KB
-rwxr-xr-x
chcon
58.51
KB
-rwxr-xr-x
chdist
20.69
KB
-rwxr-xr-x
checkbashisms
31.56
KB
-rwxr-xr-x
checkgid
14.3
KB
-rwxr-xr-x
chem
28.49
KB
-rwxr-xr-x
chfn
71.01
KB
-rwsr-xr-x
chg
34.38
KB
-rwxr-xr-x
chgrp
54.51
KB
-rwxr-xr-x
chkdvifont
30.38
KB
-rwxr-xr-x
chmod
54.51
KB
-rwxr-xr-x
choom
22.38
KB
-rwxr-xr-x
chown
58.51
KB
-rwxr-xr-x
chpst
30.43
KB
-rwxr-xr-x
chrt
26.38
KB
-rwxr-xr-x
chsh
43.76
KB
-rwsr-xr-x
chvt
14.23
KB
-rwxr-xr-x
ci
807
B
-rwxr-xr-x
cifsiostat
22.45
KB
-rwxr-xr-x
cjpeg
54.21
KB
-rwxr-xr-x
ckbcomp
146.31
KB
-rwxr-xr-x
cksum
34.41
KB
-rwxr-xr-x
clear
14.31
KB
-rwxr-xr-x
clear_console
14.23
KB
-rwxr-xr-x
clhsdb
14.34
KB
-rwxr-xr-x
clusterdb
9.21
KB
-rwxr-xr-x
cmp
42.39
KB
-rwxr-xr-x
cmuwmtopbm
14.02
KB
-rwxr-xr-x
co
807
B
-rwxr-xr-x
codepage
14.15
KB
-rwxr-xr-x
col
22.38
KB
-rwxr-xr-x
col1
963
B
-rwxr-xr-x
col2
963
B
-rwxr-xr-x
col3
963
B
-rwxr-xr-x
col4
963
B
-rwxr-xr-x
col5
963
B
-rwxr-xr-x
col6
963
B
-rwxr-xr-x
col7
963
B
-rwxr-xr-x
col8
963
B
-rwxr-xr-x
col9
963
B
-rwxr-xr-x
colcrt
14.38
KB
-rwxr-xr-x
colorit
4.06
KB
-rwxr-xr-x
colrm
14.38
KB
-rwxr-xr-x
column
34.38
KB
-rwxr-xr-x
combinediff
50.89
KB
-rwxr-xr-x
comm
34.52
KB
-rwxr-xr-x
compare
14.15
KB
-rwxr-xr-x
compare-im6
14.15
KB
-rwxr-xr-x
compare-im6.q16
14.15
KB
-rwxr-xr-x
compile_et
1.32
KB
-rwxr-xr-x
compose
18.06
KB
-rwxr-xr-x
composite
14.15
KB
-rwxr-xr-x
composite-im6
14.15
KB
-rwxr-xr-x
composite-im6.q16
14.15
KB
-rwxr-xr-x
config_data
6.97
KB
-rwxr-xr-x
conjure
14.15
KB
-rwxr-xr-x
conjure-im6
14.15
KB
-rwxr-xr-x
conjure-im6.q16
14.15
KB
-rwxr-xr-x
convert
14.15
KB
-rwxr-xr-x
convert-im6
14.15
KB
-rwxr-xr-x
convert-im6.q16
14.15
KB
-rwxr-xr-x
corelist
15.01
KB
-rwxr-xr-x
cover
20.96
KB
-rwxr-xr-x
cowpoke
16.34
KB
-rwxr-xr-x
cp
138.51
KB
-rwxr-xr-x
cpan
8.16
KB
-rwxr-xr-x
cpan5.34-x86_64-linux-gnu
8.18
KB
-rwxr-xr-x
cpancover
5.49
KB
-rwxr-xr-x
cpanel_json_xs
9.76
KB
-rwxr-xr-x
cpio
141.64
KB
-rwxr-xr-x
cpp
906.82
KB
-rwxr-xr-x
cpp-11
906.82
KB
-rwxr-xr-x
cpp-12
1.32
MB
-rwxr-xr-x
crc32
1.04
KB
-rwxr-xr-x
createdb
9.21
KB
-rwxr-xr-x
createlang
9.21
KB
-rwxr-xr-x
createuser
9.21
KB
-rwxr-xr-x
crontab
38.64
KB
-rwxr-sr-x
cryptdir
1.44
KB
-rwxr-xr-x
csh
425.4
KB
-rwxr-xr-x
csplit
106.51
KB
-rwxr-xr-x
ctags
301.78
KB
-rwxr-xr-x
ctags-exuberant
301.78
KB
-rwxr-xr-x
ctags.emacs
155.2
KB
-rwxr-xr-x
ctail
960
B
-rwxr-xr-x
ctangle
50.91
KB
-rwxr-xr-x
ctie
18.4
KB
-rwxr-xr-x
ctstat
22.66
KB
-rwxr-xr-x
ctwill
99
KB
-rwxr-xr-x
ctwill-refsort
14.3
KB
-rwxr-xr-x
ctwill-twinx
14.3
KB
-rwxr-xr-x
curl
254.23
KB
-rwxr-xr-x
curl-config
6.52
KB
-rwxr-xr-x
cut
38.51
KB
-rwxr-xr-x
cvs
829.46
KB
-rwxr-xr-x
cvs-debc
11.8
KB
-rwxr-xr-x
cvs-debi
11.8
KB
-rwxr-xr-x
cvs-debrelease
11.95
KB
-rwxr-xr-x
cvs-debuild
6.84
KB
-rwxr-xr-x
cvs-switchroot
2.47
KB
-rwxr-xr-x
cvsps
82.29
KB
-rwxr-xr-x
cvtsudoers
296.4
KB
-rwxr-xr-x
cweave
95
KB
-rwxr-xr-x
daemon
121.3
KB
-rwxr-xr-x
darcs
22.52
MB
-rwxr-xr-x
dash
122.74
KB
-rwxr-xr-x
date
102.51
KB
-rwxr-xr-x
db5.3_archive
14.02
KB
-rwxr-xr-x
db5.3_checkpoint
14.02
KB
-rwxr-xr-x
db5.3_deadlock
14.02
KB
-rwxr-xr-x
db5.3_dump
18.02
KB
-rwxr-xr-x
db5.3_hotbackup
18.02
KB
-rwxr-xr-x
db5.3_load
26.02
KB
-rwxr-xr-x
db5.3_log_verify
14.02
KB
-rwxr-xr-x
db5.3_printlog
34.02
KB
-rwxr-xr-x
db5.3_recover
14.02
KB
-rwxr-xr-x
db5.3_replicate
14.02
KB
-rwxr-xr-x
db5.3_stat
18.02
KB
-rwxr-xr-x
db5.3_upgrade
14.02
KB
-rwxr-xr-x
db5.3_verify
14.02
KB
-rwxr-xr-x
db_archive
14.02
KB
-rwxr-xr-x
db_checkpoint
14.02
KB
-rwxr-xr-x
db_deadlock
14.02
KB
-rwxr-xr-x
db_dump
18.02
KB
-rwxr-xr-x
db_hotbackup
18.02
KB
-rwxr-xr-x
db_load
26.02
KB
-rwxr-xr-x
db_log_verify
14.02
KB
-rwxr-xr-x
db_printlog
34.02
KB
-rwxr-xr-x
db_recover
14.02
KB
-rwxr-xr-x
db_replicate
14.02
KB
-rwxr-xr-x
db_stat
18.02
KB
-rwxr-xr-x
db_upgrade
14.02
KB
-rwxr-xr-x
db_verify
14.02
KB
-rwxr-xr-x
dbilogstrip
1.35
KB
-rwxr-xr-x
dbiprof
6.06
KB
-rwxr-xr-x
dbiproxy
5.27
KB
-rwxr-xr-x
dbus-cleanup-sockets
14.29
KB
-rwxr-xr-x
dbus-daemon
227.32
KB
-rwxr-xr-x
dbus-monitor
26.29
KB
-rwxr-xr-x
dbus-run-session
14.29
KB
-rwxr-xr-x
dbus-send
26.29
KB
-rwxr-xr-x
dbus-update-activation-environ...
14.29
KB
-rwxr-xr-x
dbus-uuidgen
14.29
KB
-rwxr-xr-x
dc
46.24
KB
-rwxr-xr-x
dch
65.04
KB
-rwxr-xr-x
dcmd
9.94
KB
-rwxr-xr-x
dd
66.52
KB
-rwxr-xr-x
dd-list
9.39
KB
-rwxr-xr-x
deallocvt
14.23
KB
-rwxr-xr-x
deb-janitor
4.51
KB
-rwxr-xr-x
deb-reversion
5.79
KB
-rwxr-xr-x
deb-systemd-helper
20.89
KB
-rwxr-xr-x
deb-systemd-invoke
6.01
KB
-rwxr-xr-x
deb-why-removed
6.47
KB
-rwxr-xr-x
debbisect
44.19
KB
-rwxr-xr-x
debc
16.59
KB
-rwxr-xr-x
debchange
65.04
KB
-rwxr-xr-x
debcheckout
45.11
KB
-rwxr-xr-x
debclean
5.96
KB
-rwxr-xr-x
debcommit
30.16
KB
-rwxr-xr-x
debconf
2.79
KB
-rwxr-xr-x
debconf-apt-progress
11.27
KB
-rwxr-xr-x
debconf-communicate
608
B
-rwxr-xr-x
debconf-copydb
1.68
KB
-rwxr-xr-x
debconf-escape
647
B
-rwxr-xr-x
debconf-set-selections
2.92
KB
-rwxr-xr-x
debconf-show
1.78
KB
-rwxr-xr-x
debdiff
40.86
KB
-rwxr-xr-x
debdiff-apply
12.29
KB
-rwxr-xr-x
debi
16.59
KB
-rwxr-xr-x
debian-distro-info
22.95
KB
-rwxr-xr-x
debootsnap
23.37
KB
-rwxr-xr-x
debpkg
18.15
KB
-rwxr-xr-x
debrebuild
23.72
KB
-rwxr-xr-x
debrelease
10.75
KB
-rwxr-xr-x
debrepro
6.08
KB
-rwxr-xr-x
debrsign
9.06
KB
-rwxr-xr-x
debsign
23.46
KB
-rwxr-xr-x
debsnap
12.98
KB
-rwxr-xr-x
debsums
24.81
KB
-rwxr-xr-x
debuild
41.63
KB
-rwxr-xr-x
decodemail
34.77
KB
-rwxr-xr-x
decryptdir
1.44
KB
-rwxr-xr-x
defmt-c
14.3
KB
-rwxr-xr-x
defmt-sh
14.3
KB
-rwxr-xr-x
dehtmldiff
1.32
KB
-rwxr-xr-x
delpart
14.38
KB
-rwxr-xr-x
delv
45.32
KB
-rwxr-xr-x
dep3changelog
5.47
KB
-rwxr-xr-x
derb
26.88
KB
-rwxr-xr-x
desktop2menu
12.57
KB
-rwxr-xr-x
detex
58.32
KB
-rwxr-xr-x
devnag
43.34
KB
-rwxr-xr-x
df
83.08
KB
-rwxr-xr-x
dget
23.94
KB
-rwxr-xr-x
dh_autotools-dev_restoreconfig
1.79
KB
-rwxr-xr-x
dh_autotools-dev_updateconfig
1.81
KB
-rwxr-xr-x
dh_bash-completion
4.31
KB
-rwxr-xr-x
dh_dkms
4.2
KB
-rwxr-xr-x
dh_installtex
17.96
KB
-rwxr-xr-x
dh_installxmlcatalogs
9.22
KB
-rwxr-xr-x
dh_numpy3
1.94
KB
-rwxr-xr-x
dh_perl_dbi
1.17
KB
-rwxr-xr-x
dh_perl_openssl
1.5
KB
-rwxr-xr-x
dh_sphinxdoc
17.29
KB
-rwxr-xr-x
dhwp
940
B
-rwxr-xr-x
dict
71.52
KB
-rwxr-xr-x
dict_lookup
4.35
KB
-rwxr-xr-x
dictl
1.93
KB
-rwxr-xr-x
diff
130.55
KB
-rwxr-xr-x
diff2patches
2.86
KB
-rwxr-xr-x
diff3
54.52
KB
-rwxr-xr-x
dig
150.83
KB
-rwxr-xr-x
dir
134.98
KB
-rwxr-xr-x
dircolors
38.52
KB
-rwxr-xr-x
dirmngr
433.02
KB
-rwxr-xr-x
dirmngr-client
54.92
KB
-rwxr-xr-x
dirname
30.38
KB
-rwxr-xr-x
disdvi
22.31
KB
-rwxr-xr-x
dislocate
7.75
KB
-rwxr-xr-x
display
14.15
KB
-rwxr-xr-x
display-im6
14.15
KB
-rwxr-xr-x
display-im6.q16
14.15
KB
-rwxr-xr-x
distro-info
22.89
KB
-rwxr-xr-x
django-admin
968
B
-rwxr-xr-x
djpeg
42.21
KB
-rwxr-xr-x
dmesg
70.61
KB
-rwxr-xr-x
dnsdomainname
22.23
KB
-rwxr-xr-x
dnssort
1.82
KB
-rwxr-xr-x
do-release-upgrade
10.42
KB
-rwxr-xr-x
domainname
22.23
KB
-rwxr-xr-x
dos2unix
54.34
KB
-rwxr-xr-x
dotlock
15.14
KB
-rwxr-sr-x
dotlock.mailutils
15.14
KB
-rwxr-sr-x
dotlockfile
22.15
KB
-rwxr-sr-x
dpkg
310.69
KB
-rwxr-xr-x
dpkg-architecture
13.51
KB
-rwxr-xr-x
dpkg-awk
949
B
-rwxr-xr-x
dpkg-buildflags
7.39
KB
-rwxr-xr-x
dpkg-buildpackage
31.67
KB
-rwxr-xr-x
dpkg-checkbuilddeps
7.45
KB
-rwxr-xr-x
dpkg-deb
134.49
KB
-rwxr-xr-x
dpkg-depcheck
18.49
KB
-rwxr-xr-x
dpkg-distaddfile
2.72
KB
-rwxr-xr-x
dpkg-divert
118.49
KB
-rwxr-xr-x
dpkg-genbuilddeps
1005
B
-rwxr-xr-x
dpkg-genbuildinfo
16.71
KB
-rwxr-xr-x
dpkg-genchanges
17.27
KB
-rwxr-xr-x
dpkg-gencontrol
14.24
KB
-rwxr-xr-x
dpkg-gensymbols
10.65
KB
-rwxr-xr-x
dpkg-maintscript-helper
20.71
KB
-rwxr-xr-x
dpkg-mergechangelogs
8.69
KB
-rwxr-xr-x
dpkg-name
6.63
KB
-rwxr-xr-x
dpkg-parsechangelog
4.83
KB
-rwxr-xr-x
dpkg-query
138.52
KB
-rwxr-xr-x
dpkg-realpath
4.09
KB
-rwxr-xr-x
dpkg-scanpackages
8.5
KB
-rwxr-xr-x
dpkg-scansources
8.96
KB
-rwxr-xr-x
dpkg-shlibdeps
30.96
KB
-rwxr-xr-x
dpkg-source
22.56
KB
-rwxr-xr-x
dpkg-split
98.51
KB
-rwxr-xr-x
dpkg-statoverride
46.26
KB
-rwxr-xr-x
dpkg-trigger
42.41
KB
-rwxr-xr-x
dpkg-vendor
3.19
KB
-rwxr-xr-x
dropdb
9.21
KB
-rwxr-xr-x
droplang
9.21
KB
-rwxr-xr-x
dropuser
9.21
KB
-rwxr-xr-x
dscextract
4.16
KB
-rwxr-xr-x
dscverify
13.9
KB
-rwxr-xr-x
dselect
226.59
KB
-rwxr-xr-x
dt2dv
40.49
KB
-rwxr-xr-x
du
146.51
KB
-rwxr-xr-x
duck
16.02
KB
-rwxr-xr-x
dump_index
1.4
KB
-rwxr-xr-x
dumpkeys
158.71
KB
-rwxr-xr-x
duplicity
5.21
KB
-rwxr-xr-x
dv2dt
23.87
KB
-rwxr-xr-x
dvi2tty
58.69
KB
-rwxr-xr-x
dvibook
30.5
KB
-rwxr-xr-x
dviconcat
22.6
KB
-rwxr-xr-x
dvicopy
54.4
KB
-rwxr-xr-x
dvihp
4.38
KB
-rwxr-xr-x
dvilj
54.82
KB
-rwxr-xr-x
dvilj2p
54.82
KB
-rwxr-xr-x
dvilj4
62.83
KB
-rwxr-xr-x
dvilj4l
62.83
KB
-rwxr-xr-x
dvilj6
62.83
KB
-rwxr-xr-x
dvilualatex
6.64
MB
-rwxr-xr-x
dviluatex
6.64
MB
-rwxr-xr-x
dvipdf
1007
B
-rwxr-xr-x
dvipdfm
835.77
KB
-rwxr-xr-x
dvipdfmx
835.77
KB
-rwxr-xr-x
dvipdft
2.63
KB
-rwxr-xr-x
dvipos
50.79
KB
-rwxr-xr-x
dvips
219.32
KB
-rwxr-xr-x
dviselect
22.5
KB
-rwxr-xr-x
dvispc
47.52
KB
-rwxr-xr-x
dvitodvi
34.5
KB
-rwxr-xr-x
dvitomp
800
KB
-rwxr-xr-x
dvitype
46.42
KB
-rwxr-xr-x
dwp
1.82
MB
-rwxr-xr-x
eatmydata
2.74
KB
-rwxr-xr-x
ebb
835.77
KB
-rwxr-xr-x
ebrowse
46.27
KB
-rwxr-xr-x
ebrowse.emacs
46.27
KB
-rwxr-xr-x
ec2metadata
8.38
KB
-rwxr-xr-x
echo
34.3
KB
-rwxr-xr-x
ed
54.49
KB
-rwxr-xr-x
edit
18.06
KB
-rwxr-xr-x
edit-patch
8.14
KB
-rwxr-xr-x
editdiff
2.02
KB
-rwxr-xr-x
editor
729.83
KB
-rwxr-xr-x
editres
72.69
KB
-rwxr-xr-x
egrep
28
B
-rwxr-xr-x
eject
42.23
KB
-rwxr-xr-x
elfedit
34.72
KB
-rwxr-xr-x
elvis-tiny
101.49
KB
-rwxr-xr-x
emacs
6.01
MB
-rwxr-xr-x
emacs-gtk
6.01
MB
-rwxr-xr-x
emacsclient
30.23
KB
-rwxr-xr-x
emacsclient.emacs
30.23
KB
-rwxr-xr-x
enc2xs
40.84
KB
-rwxr-xr-x
encguess
3.01
KB
-rwxr-xr-x
encode_keychange
22.3
KB
-rwxr-xr-x
env
42.95
KB
-rwxr-xr-x
envdir
21.98
KB
-rwxr-xr-x
envsubst
34.38
KB
-rwxr-xr-x
envuidgid
21.98
KB
-rwxr-xr-x
eps2eps
639
B
-rwxr-xr-x
eptex
544.22
KB
-rwxr-xr-x
eqn
188.45
KB
-rwxr-xr-x
eqn2graph
3.16
KB
-rwxr-xr-x
erb
507
B
-rwxr-xr-x
erb3.0
507
B
-rwxr-xr-x
erubis
158
B
-rwxr-xr-x
espdiff
1.53
KB
-rwxr-xr-x
etags
151.01
KB
-rwxr-xr-x
etags.emacs
151.01
KB
-rwxr-xr-x
etex
1.72
MB
-rwxr-xr-x
euptex
554.86
KB
-rwxr-xr-x
ex
3.61
MB
-rwxr-xr-x
exifautotran
1.11
KB
-rwxr-xr-x
exiftool
302.54
KB
-rwxr-xr-x
expand
34.53
KB
-rwxr-xr-x
expect
14.15
KB
-rwxr-xr-x
expect_autoexpect
7.53
KB
-rwxr-xr-x
expect_autopasswd
378
B
-rwxr-xr-x
expect_cryptdir
1.44
KB
-rwxr-xr-x
expect_decryptdir
1.44
KB
-rwxr-xr-x
expect_dislocate
7.75
KB
-rwxr-xr-x
expect_ftp-rfc
686
B
-rwxr-xr-x
expect_kibitz
10.63
KB
-rwxr-xr-x
expect_lpunlock
2.56
KB
-rwxr-xr-x
expect_mkpasswd
5.26
KB
-rwxr-xr-x
expect_multixterm
29.85
KB
-rwxr-xr-x
expect_passmass
4.45
KB
-rwxr-xr-x
expect_rftp
8.68
KB
-rwxr-xr-x
expect_rlogin-cwd
504
B
-rwxr-xr-x
expect_timed-read
306
B
-rwxr-xr-x
expect_timed-run
280
B
-rwxr-xr-x
expect_tknewsbiff
11.24
KB
-rwxr-xr-x
expect_tkpasswd
16.3
KB
-rwxr-xr-x
expect_unbuffer
643
B
-rwxr-xr-x
expect_weather
2.03
KB
-rwxr-xr-x
expect_xkibitz
4.75
KB
-rwxr-xr-x
expect_xpstat
6.59
KB
-rwxr-xr-x
expiry
22.59
KB
-rwxr-sr-x
expr
102.41
KB
-rwxr-xr-x
extcheck
14.32
KB
-rwxr-xr-x
extractbb
835.77
KB
-rwxr-xr-x
eyuvtoppm
18.02
KB
-rwxr-xr-x
f2py3
957
B
-rwxr-xr-x
f2py3.10
960
B
-rwxr-xr-x
factor
70.51
KB
-rwxr-xr-x
fail2ban-client
1.39
KB
-rwxr-xr-x
fail2ban-python
5.66
MB
-rwxr-xr-x
fail2ban-regex
1.25
KB
-rwxr-xr-x
fail2ban-server
1.38
KB
-rwxr-xr-x
fail2ban-testcases
2.23
KB
-rwxr-xr-x
faillog
22.59
KB
-rwxr-xr-x
faked-sysv
30.39
KB
-rwxr-xr-x
faked-tcp
30.38
KB
-rwxr-xr-x
fakeroot
3.9
KB
-rwxr-xr-x
fakeroot-sysv
3.9
KB
-rwxr-xr-x
fakeroot-tcp
3.9
KB
-rwxr-xr-x
fallocate
22.38
KB
-rwxr-xr-x
false
26.3
KB
-rwxr-xr-x
fc-cache
22.23
KB
-rwxr-xr-x
fc-cat
18.23
KB
-rwxr-xr-x
fc-conflist
14.23
KB
-rwxr-xr-x
fc-list
14.23
KB
-rwxr-xr-x
fc-match
14.23
KB
-rwxr-xr-x
fc-pattern
14.23
KB
-rwxr-xr-x
fc-query
14.23
KB
-rwxr-xr-x
fc-scan
14.23
KB
-rwxr-xr-x
fc-validate
14.23
KB
-rwxr-xr-x
fcgistarter
14.3
KB
-rwxr-xr-x
ffmpeg
294.48
KB
-rwxr-xr-x
ffplay
146.47
KB
-rwxr-xr-x
ffprobe
174.64
KB
-rwxr-xr-x
fgconsole
14.23
KB
-rwxr-xr-x
fghack
21.98
KB
-rwxr-xr-x
fgrep
28
B
-rwxr-xr-x
fiascotopnm
118.6
KB
-rwxr-xr-x
figlet
26.68
KB
-rwxr-xr-x
figlet-toilet
26.68
KB
-rwxr-xr-x
filan
46.48
KB
-rwxr-xr-x
file
26.56
KB
-rwxr-xr-x
filterdiff
55.48
KB
-rwxr-xr-x
finalrd
2.06
KB
-rwxr-xr-x
fincore
22.42
KB
-rwxr-xr-x
find
275.48
KB
-rwxr-xr-x
findaffix
11.74
KB
-rwxr-xr-x
findmnt
63.61
KB
-rwxr-xr-x
fitstopnm
18.02
KB
-rwxr-xr-x
fixcvsdiff
1.83
KB
-rwxr-xr-x
fixproc
15.16
KB
-rwxr-xr-x
flex
405.18
KB
-rwxr-xr-x
flex++
405.18
KB
-rwxr-xr-x
flickr_dump_stored_config
2.01
KB
-rwxr-xr-x
flickr_make_stored_config
10.35
KB
-rwxr-xr-x
flickr_make_test_values
4.48
KB
-rwxr-xr-x
flipdiff
50.89
KB
-rwxr-xr-x
flock
22.48
KB
-rwxr-xr-x
fmt
38.51
KB
-rwxr-xr-x
fmtutil
53.83
KB
-rwxr-xr-x
fmtutil-sys
929
B
-rwxr-xr-x
fmtutil-user
926
B
-rwxr-xr-x
fold
34.51
KB
-rwxr-xr-x
formail
46.3
KB
-rwxr-xr-x
fping
50.87
KB
-rwxr-xr-x
fping6
50.87
KB
-rwxr-xr-x
free
26.23
KB
-rwxr-xr-x
frm
27.29
KB
-rwxr-xr-x
frm.mailutils
27.29
KB
-rwxr-xr-x
from
26.82
KB
-rwxr-xr-x
from.mailutils
26.82
KB
-rwxr-xr-x
fromdos
18.17
KB
-rwxr-xr-x
fsfs-access-map
18.3
KB
-rwxr-xr-x
fsfs-stats
65
B
-rwxr-xr-x
fstopgm
14.02
KB
-rwxr-xr-x
ftp
178.9
KB
-rwxr-xr-x
ftp-rfc
686
B
-rwxr-xr-x
ftpcount
23.66
KB
-rwxr-xr-x
ftpdctl
98.36
KB
-rwxr-xr-x
ftptop
27.33
KB
-rwxr-xr-x
ftpwho
43.8
KB
-rwxr-xr-x
funzip
22.3
KB
-rwxr-xr-x
fuser
39.31
KB
-rwxr-xr-x
fusermount
34.38
KB
-rwsr-xr-x
fusermount3
34.38
KB
-rwsr-xr-x
futurize
960
B
-rwxr-xr-x
g++
910.82
KB
-rwxr-xr-x
g++-11
910.82
KB
-rwxr-xr-x
g3topbm
17.13
KB
-rwxr-xr-x
gapplication
22.38
KB
-rwxr-xr-x
gawk
688.46
KB
-rwxr-xr-x
gcc
906.82
KB
-rwxr-xr-x
gcc-11
906.82
KB
-rwxr-xr-x
gcc-12
1.32
MB
-rwxr-xr-x
gcc-ar
26.54
KB
-rwxr-xr-x
gcc-ar-11
26.54
KB
-rwxr-xr-x
gcc-ar-12
34.63
KB
-rwxr-xr-x
gcc-nm
26.54
KB
-rwxr-xr-x
gcc-nm-11
26.54
KB
-rwxr-xr-x
gcc-nm-12
34.63
KB
-rwxr-xr-x
gcc-ranlib
26.54
KB
-rwxr-xr-x
gcc-ranlib-11
26.54
KB
-rwxr-xr-x
gcc-ranlib-12
34.63
KB
-rwxr-xr-x
gcore
3.4
KB
-rwxr-xr-x
gcov
400.01
KB
-rwxr-xr-x
gcov-11
400.01
KB
-rwxr-xr-x
gcov-12
736.26
KB
-rwxr-xr-x
gcov-dump
251.84
KB
-rwxr-xr-x
gcov-dump-11
251.84
KB
-rwxr-xr-x
gcov-dump-12
576.13
KB
-rwxr-xr-x
gcov-tool
275.93
KB
-rwxr-xr-x
gcov-tool-11
275.93
KB
-rwxr-xr-x
gcov-tool-12
600.22
KB
-rwxr-xr-x
gcov2perl
5.67
KB
-rwxr-xr-x
gd2copypal
14.15
KB
-rwxr-xr-x
gd2togif
14.15
KB
-rwxr-xr-x
gd2topng
14.15
KB
-rwxr-xr-x
gdb
9.8
MB
-rwxr-xr-x
gdb-add-index
4.52
KB
-rwxr-xr-x
gdbtui
126
B
-rwxr-xr-x
gdbus
50.38
KB
-rwxr-xr-x
gdcmpgif
14.15
KB
-rwxr-xr-x
gdiffmk
7.51
KB
-rwxr-xr-x
gdparttopng
14.15
KB
-rwxr-xr-x
gdtopng
14.15
KB
-rwxr-xr-x
gem
254
B
-rwxr-xr-x
gem3.0
545
B
-rwxr-xr-x
gemtopbm
14.02
KB
-rwxr-xr-x
gemtopnm
14.02
KB
-rwxr-xr-x
genbrk
14.78
KB
-rwxr-xr-x
gencat
26.37
KB
-rwxr-xr-x
gencfu
14.73
KB
-rwxr-xr-x
gencnval
26.61
KB
-rwxr-xr-x
gendict
26.78
KB
-rwxr-xr-x
genrb
147.91
KB
-rwxr-xr-x
geqn
188.45
KB
-rwxr-xr-x
get_root_domain
2.12
KB
-rwxr-xr-x
getbuildlog
4.71
KB
-rwxr-xr-x
getconf
34.29
KB
-rwxr-xr-x
getent
38.65
KB
-rwxr-xr-x
getfacl
30.81
KB
-rwxr-xr-x
getfattr
22.76
KB
-rwxr-xr-x
getkeycodes
14.23
KB
-rwxr-xr-x
getopt
22.38
KB
-rwxr-xr-x
gettext
34.38
KB
-rwxr-xr-x
gettext.sh
5.07
KB
-rwxr-xr-x
gettextize
41.28
KB
-rwxr-xr-x
gftodvi
46.39
KB
-rwxr-xr-x
gftopk
26.38
KB
-rwxr-xr-x
gftype
26.39
KB
-rwxr-xr-x
ghostscript
14.15
KB
-rwxr-xr-x
giftogd2
14.15
KB
-rwxr-xr-x
giftopnm
22.02
KB
-rwxr-xr-x
ginstall-info
103.23
KB
-rwxr-xr-x
gio
90.4
KB
-rwxr-xr-x
gio-querymodules
14.3
KB
-rwxr-xr-x
git
3.54
MB
-rwxr-xr-x
git-deborig
8.82
KB
-rwxr-xr-x
git-receive-pack
3.54
MB
-rwxr-xr-x
git-shell
552.58
KB
-rwxr-xr-x
git-upload-archive
3.54
MB
-rwxr-xr-x
git-upload-pack
3.54
MB
-rwxr-xr-x
gitdiff
1.72
KB
-rwxr-xr-x
gitdiffview
814
B
-rwxr-xr-x
glib-compile-schemas
50.3
KB
-rwxr-xr-x
glilypond
18.19
KB
-rwxr-xr-x
gmake
249.7
KB
-rwxr-xr-x
gnuplot
1.93
MB
-rwxr-xr-x
gnuplot-qt
1.93
MB
-rwxr-xr-x
gold
3.04
MB
-rwxr-xr-x
google-authenticator
34.79
KB
-rwxr-xr-x
googlism
767
B
-rwxr-xr-x
gouldtoppm
14.02
KB
-rwxr-xr-x
gpasswd
70.38
KB
-rwsr-xr-x
gperl
6.87
KB
-rwxr-xr-x
gpg
1
MB
-rwxr-xr-x
gpg-agent
312.96
KB
-rwxr-xr-x
gpg-connect-agent
82.99
KB
-rwxr-xr-x
gpg-wks-server
115.05
KB
-rwxr-xr-x
gpg-zip
3.43
KB
-rwxr-xr-x
gpg1
889.02
KB
-rwxr-xr-x
gpgcompose
496.48
KB
-rwxr-xr-x
gpgconf
126.73
KB
-rwxr-xr-x
gpgmailtunl
6.29
KB
-rwxr-xr-x
gpgparsemail
34.38
KB
-rwxr-xr-x
gpgsm
418.9
KB
-rwxr-xr-x
gpgsplit
26.55
KB
-rwxr-xr-x
gpgtar
63.39
KB
-rwxr-xr-x
gpgv
271.04
KB
-rwxr-xr-x
gpic
200.04
KB
-rwxr-xr-x
gpinyin
5.28
KB
-rwxr-xr-x
gprof
111.79
KB
-rwxr-xr-x
grap2graph
3.08
KB
-rwxr-xr-x
gregorio
674.84
KB
-rwxr-xr-x
grep
178.45
KB
-rwxr-xr-x
grep-aptavail
48.08
KB
-rwxr-xr-x
grep-available
48.08
KB
-rwxr-xr-x
grep-dctrl
48.08
KB
-rwxr-xr-x
grep-debtags
48.08
KB
-rwxr-xr-x
grep-excuses
12.45
KB
-rwxr-xr-x
grep-status
48.08
KB
-rwxr-xr-x
grepdiff
55.48
KB
-rwxr-xr-x
gresource
22.3
KB
-rwxr-xr-x
grn
86.84
KB
-rwxr-xr-x
grodvi
118.49
KB
-rwxr-xr-x
groff
94.5
KB
-rwxr-xr-x
groffer
8.04
KB
-rwxr-xr-x
grog
2.71
KB
-rwxr-xr-x
grolbp
122.8
KB
-rwxr-xr-x
grolj4
114.5
KB
-rwxr-xr-x
gropdf
70.69
KB
-rwxr-xr-x
grops
162.55
KB
-rwxr-xr-x
grotty
118.52
KB
-rwxr-xr-x
groups
34.51
KB
-rwxr-xr-x
growpart
26.22
KB
-rwxr-xr-x
grub-editenv
376.95
KB
-rwxr-xr-x
grub-file
816.45
KB
-rwxr-xr-x
grub-fstest
937.92
KB
-rwxr-xr-x
grub-glue-efi
247.86
KB
-rwxr-xr-x
grub-kbdcomp
1.64
KB
-rwxr-xr-x
grub-menulst2cfg
228.13
KB
-rwxr-xr-x
grub-mkfont
272.42
KB
-rwxr-xr-x
grub-mkimage
361.05
KB
-rwxr-xr-x
grub-mklayout
252.17
KB
-rwxr-xr-x
grub-mknetdir
417.66
KB
-rwxr-xr-x
grub-mkpasswd-pbkdf2
256.2
KB
-rwxr-xr-x
grub-mkrelpath
247.58
KB
-rwxr-xr-x
grub-mkrescue
998.47
KB
-rwxr-xr-x
grub-mkstandalone
493.95
KB
-rwxr-xr-x
grub-mount
760.84
KB
-rwxr-xr-x
grub-ntldr-img
38.24
KB
-rwxr-xr-x
grub-render-label
828.83
KB
-rwxr-xr-x
grub-script-check
275.7
KB
-rwxr-xr-x
grub-syslinux2cfg
781.34
KB
-rwxr-xr-x
gs
14.15
KB
-rwxr-xr-x
gsbj
350
B
-rwxr-xr-x
gsdj
352
B
-rwxr-xr-x
gsdj500
352
B
-rwxr-xr-x
gsettings
30.3
KB
-rwxr-xr-x
gsftopk
34.49
KB
-rwxr-xr-x
gslj
353
B
-rwxr-xr-x
gslp
350
B
-rwxr-xr-x
gsnd
277
B
-rwxr-xr-x
gtbl
126.48
KB
-rwxr-xr-x
gtf
18.31
KB
-rwxr-xr-x
gtk-update-icon-cache
38.57
KB
-rwxr-xr-x
gunzip
2.29
KB
-rwxr-xr-x
gxditview
133.69
KB
-rwxr-xr-x
gzexe
6.3
KB
-rwxr-xr-x
gzip
91.23
KB
-rwxr-xr-x
h2ph
28.54
KB
-rwxr-xr-x
h2xs
59.51
KB
-rwxr-xr-x
hardening-check
19.09
KB
-rwxr-xr-x
hardlink
34.43
KB
-rwxr-xr-x
hd
50.39
KB
-rwxr-xr-x
head
42.51
KB
-rwxr-xr-x
helpztags
2.46
KB
-rwxr-xr-x
hexdump
50.39
KB
-rwxr-xr-x
hexedit
46.16
KB
-rwxr-xr-x
hg
1.78
KB
-rwxr-xr-x
hg-ssh
3.49
KB
-rwxr-xr-x
highlight
858.41
KB
-rwxr-xr-x
hipstopgm
14.02
KB
-rwxr-xr-x
host
118.82
KB
-rwxr-xr-x
hostid
30.51
KB
-rwxr-xr-x
hostname
22.23
KB
-rwxr-xr-x
hostnamectl
30.38
KB
-rwxr-xr-x
hpftodit
250.45
KB
-rwxr-xr-x
hsdb
14.34
KB
-rwxr-xr-x
htcacheclean
38.31
KB
-rwxr-xr-x
htdbm
26.3
KB
-rwxr-xr-x
htdigest
14.3
KB
-rwxr-xr-x
html2text
218.32
KB
-rwxr-xr-x
htmlclean
3.21
KB
-rwxr-xr-x
htop
277.19
KB
-rwxr-xr-x
htpasswd
26.3
KB
-rwxr-xr-x
hwe-support-status
10.58
KB
-rwxr-xr-x
i386
26.65
KB
-rwxr-xr-x
icombine
38.7
KB
-rwxr-xr-x
icontopbm
14.02
KB
-rwxr-xr-x
iconv
66.41
KB
-rwxr-xr-x
icuexportdata
30.98
KB
-rwxr-xr-x
icuinfo
14.62
KB
-rwxr-xr-x
id
38.51
KB
-rwxr-xr-x
ident
26.45
KB
-rwxr-xr-x
identify
14.15
KB
-rwxr-xr-x
identify-im6
14.15
KB
-rwxr-xr-x
identify-im6.q16
14.15
KB
-rwxr-xr-x
idlj
14.32
KB
-rwxr-xr-x
ifnames
4.08
KB
-rwxr-xr-x
ijoin
18.34
KB
-rwxr-xr-x
ilbmtoppm
66.1
KB
-rwxr-xr-x
imagetops
1.21
KB
-rwxr-xr-x
imgsize
4.57
KB
-rwxr-xr-x
imgtoppm
14.02
KB
-rwxr-xr-x
import
14.15
KB
-rwxr-xr-x
import-im6
14.15
KB
-rwxr-xr-x
import-im6.q16
14.15
KB
-rwxr-xr-x
indent
99.91
KB
-rwxr-xr-x
indxbib
46.51
KB
-rwxr-xr-x
info
301.74
KB
-rwxr-xr-x
infobrowser
301.74
KB
-rwxr-xr-x
infocmp
62.38
KB
-rwxr-xr-x
infotocap
86.41
KB
-rwxr-xr-x
inimf
391.94
KB
-rwxr-xr-x
initex
399.97
KB
-rwxr-xr-x
install
142.52
KB
-rwxr-xr-x
install-info
103.23
KB
-rwxr-xr-x
instmodsh
4.27
KB
-rwxr-xr-x
interdiff
50.89
KB
-rwxr-xr-x
ionice
18.38
KB
-rwxr-xr-x
iostat
54.44
KB
-rwxr-xr-x
ip
702.05
KB
-rwxr-xr-x
ipcalc
31.91
KB
-rwxr-xr-x
ipcmk
22.45
KB
-rwxr-xr-x
ipcrm
18.38
KB
-rwxr-xr-x
ipcs
38.38
KB
-rwxr-xr-x
ipmi_sim
153.26
KB
-rwxr-xr-x
ipmi_ui
14.23
KB
-rwxr-xr-x
ipmicmd
26.16
KB
-rwxr-xr-x
ipmilan
22.45
KB
-rwxr-xr-x
ipmish
38.8
KB
-rwxr-xr-x
ipmitool
914.03
KB
-rwxr-xr-x
iptables-xml
96.95
KB
-rwxr-xr-x
irb
507
B
-rwxr-xr-x
irb3.0
507
B
-rwxr-xr-x
irc
532.29
KB
-rwxr-xr-x
ircII
532.29
KB
-rwxr-xr-x
irssi
1.21
MB
-rwxr-xr-x
ischroot
14.2
KB
-rwxr-xr-x
iscsiadm
398.46
KB
-rwxr-xr-x
ispell
102.77
KB
-rwxr-xr-x
ispell-wrapper
7.05
KB
-rwxr-xr-x
jar
14.32
KB
-rwxr-xr-x
jarsigner
14.32
KB
-rwxr-xr-x
java
14.29
KB
-rwxr-xr-x
javac
14.32
KB
-rwxr-xr-x
javadoc
14.32
KB
-rwxr-xr-x
javah
14.32
KB
-rwxr-xr-x
javap
14.32
KB
-rwxr-xr-x
jcmd
14.32
KB
-rwxr-xr-x
jconsole
14.34
KB
-rwxr-xr-x
jdb
14.34
KB
-rwxr-xr-x
jdeps
14.32
KB
-rwxr-xr-x
jed
373.49
KB
-rwxr-xr-x
jed-script
373.49
KB
-rwxr-xr-x
jfr
14.32
KB
-rwxr-xr-x
jhat
14.32
KB
-rwxr-xr-x
jhead
78.9
KB
-rwxr-xr-x
jinfo
14.37
KB
-rwxr-xr-x
jjs
14.32
KB
-rwxr-xr-x
jmacs
729.83
KB
-rwxr-xr-x
jmap
14.37
KB
-rwxr-xr-x
joe
729.83
KB
-rwxr-xr-x
join
46.55
KB
-rwxr-xr-x
join-dctrl
34.83
KB
-rwxr-xr-x
journalctl
78.39
KB
-rwxr-xr-x
jpegexiforient
14.14
KB
-rwxr-xr-x
jpegtopnm
30.09
KB
-rwxr-xr-x
jpegtran
46.14
KB
-rwxr-xr-x
jpico
729.83
KB
-rwxr-xr-x
jps
14.32
KB
-rwxr-xr-x
jrunscript
14.32
KB
-rwxr-xr-x
js
26.08
KB
-rwxr-xr-x
jsadebugd
14.34
KB
-rwxr-xr-x
json-patch-jsondiff
1004
B
-rwxr-xr-x
json5
2.83
KB
-rwxr-xr-x
json_pp
4.88
KB
-rwxr-xr-x
jsondiff
1004
B
-rwxr-xr-x
jsonpatch
3.77
KB
-rwxr-xr-x
jsonpointer
1.79
KB
-rwxr-xr-x
jsonschema
397
B
-rwxr-xr-x
jstack
14.37
KB
-rwxr-xr-x
jstar
729.83
KB
-rwxr-xr-x
jstat
14.32
KB
-rwxr-xr-x
jstatd
14.32
KB
-rwxr-xr-x
kbd_mode
14.52
KB
-rwxr-xr-x
kbdinfo
18.23
KB
-rwxr-xr-x
kbxutil
62.83
KB
-rwxr-xr-x
keep-one-running
3.51
KB
-rwxr-xr-x
kernel-install
4.79
KB
-rwxr-xr-x
keyctl
46.38
KB
-rwxr-xr-x
keyring
961
B
-rwxr-xr-x
keytool
14.32
KB
-rwxr-xr-x
kibitz
10.63
KB
-rwxr-xr-x
kill
30.23
KB
-rwxr-xr-x
killall
31.34
KB
-rwxr-xr-x
kmod
166.36
KB
-rwxr-xr-x
kmodsign
18.45
KB
-rwxr-xr-x
kpseaccess
14.3
KB
-rwxr-xr-x
kpsereadlink
14.3
KB
-rwxr-xr-x
kpsestat
14.3
KB
-rwxr-xr-x
kpsewhich
27.3
KB
-rwxr-xr-x
krb5-config
6.78
KB
-rwxr-xr-x
krb5-config.mit
6.78
KB
-rwxr-xr-x
ksh
1.36
MB
-rwxr-xr-x
ksh93
1.36
MB
-rwxr-xr-x
l4p-tmpl
1.8
KB
-rwxr-xr-x
last
34.38
KB
-rwxr-xr-x
lastb
34.38
KB
-rwxr-xr-x
lastcomm
30.75
KB
-rwxr-xr-x
lastlog
27.63
KB
-rwxr-xr-x
latex
1.72
MB
-rwxr-xr-x
lcf
7.6
KB
-rwxr-xr-x
ld
1.66
MB
-rwxr-xr-x
ld.bfd
1.66
MB
-rwxr-xr-x
ld.gold
3.04
MB
-rwxr-xr-x
ldd
5.32
KB
-rwxr-xr-x
leaftoppm
14.02
KB
-rwxr-xr-x
less
194.38
KB
-rwxr-xr-x
lessecho
14.31
KB
-rwxr-xr-x
lessfile
8.83
KB
-rwxr-xr-x
lesskey
23.7
KB
-rwxr-xr-x
lesspipe
8.83
KB
-rwxr-xr-x
lex
405.18
KB
-rwxr-xr-x
lexgrog
99.75
KB
-rwxr-xr-x
lft
2.43
KB
-rwxr-xr-x
lft.db
2.43
KB
-rwxr-xr-x
lftp
1.64
MB
-rwxr-xr-x
lftpget
1.27
KB
-rwxr-xr-x
libnetcfg
15.41
KB
-rwxr-xr-x
libpng-config
2.41
KB
-rwxr-xr-x
libpng16-config
2.41
KB
-rwxr-xr-x
libtoolize
128.26
KB
-rwxr-xr-x
link
30.51
KB
-rwxr-xr-x
links
2.22
MB
-rwxr-xr-x
linux-check-removal
3.99
KB
-rwxr-xr-x
linux-update-symlinks
6.17
KB
-rwxr-xr-x
linux-version
2.63
KB
-rwxr-xr-x
linux32
26.65
KB
-rwxr-xr-x
linux64
26.65
KB
-rwxr-xr-x
lispmtopgm
14.02
KB
-rwxr-xr-x
list-unreleased
1.92
KB
-rwxr-xr-x
listen
539
B
-rwxr-xr-x
listres
14.73
KB
-rwxr-xr-x
lkbib
54.49
KB
-rwxr-xr-x
ln
58.51
KB
-rwxr-xr-x
lnstat
22.66
KB
-rwxr-xr-x
loadkeys
198.76
KB
-rwxr-xr-x
loadunimap
30.32
KB
-rwxr-xr-x
locale
57.56
KB
-rwxr-xr-x
locale-check
14.15
KB
-rwxr-xr-x
localectl
26.37
KB
-rwxr-xr-x
localedef
326.96
KB
-rwxr-xr-x
lockfile
18.02
KB
-rwxr-sr-x
lockfile-check
14.16
KB
-rwxr-xr-x
lockfile-create
14.16
KB
-rwxr-xr-x
lockfile-remove
14.16
KB
-rwxr-xr-x
lockfile-touch
14.16
KB
-rwxr-xr-x
lockmail
22.15
KB
-rwxr-sr-x
lockmail.maildrop
22.15
KB
-rwxr-sr-x
logger
34.97
KB
-rwxr-xr-x
login
51.73
KB
-rwxr-xr-x
loginctl
58.48
KB
-rwxr-xr-x
logname
30.51
KB
-rwxr-xr-x
logresolve
14.31
KB
-rwxr-xr-x
look
18.38
KB
-rwxr-xr-x
lookbib
50.49
KB
-rwxr-xr-x
lowntfs-3g
114.98
KB
-rwxr-xr-x
lpunlock
2.56
KB
-rwxr-xr-x
ls
134.98
KB
-rwxr-xr-x
lsattr
14.31
KB
-rwxr-xr-x
lsb_release
3.55
KB
-rwxr-xr-x
lsblk
122.38
KB
-rwxr-xr-x
lscgroup
14.41
KB
-rwxr-xr-x
lscpu
98.38
KB
-rwxr-xr-x
lsdev
1.56
KB
-rwxr-xr-x
lsdiff
55.48
KB
-rwxr-xr-x
lshw
901.2
KB
-rwxr-xr-x
lsinitramfs
706
B
-rwxr-xr-x
lsipc
50.38
KB
-rwxr-xr-x
lslocks
30.7
KB
-rwxr-xr-x
lslogins
50.38
KB
-rwxr-xr-x
lsmem
34.38
KB
-rwxr-xr-x
lsmod
166.36
KB
-rwxr-xr-x
lsns
38.38
KB
-rwxr-xr-x
lsof
163.62
KB
-rwxr-xr-x
lspci
92.08
KB
-rwxr-xr-x
lspgpot
1.06
KB
-rwxr-xr-x
lssubsys
14.51
KB
-rwxr-xr-x
lsusb
246.52
KB
-rwxr-xr-x
ltnu
2.47
KB
-rwxr-xr-x
lto-dump-11
23.73
MB
-rwxr-xr-x
lto-dump-12
31.05
MB
-rwxr-xr-x
ltrace
269.2
KB
-rwxr-xr-x
luahbtex
6.68
MB
-rwxr-xr-x
luajithbtex
6.57
MB
-rwxr-xr-x
luajittex
6.54
MB
-rwxr-xr-x
lualatex
6.68
MB
-rwxr-xr-x
luatex
6.64
MB
-rwxr-xr-x
luit
48.44
KB
-rwxr-xr-x
lwp-download
10.05
KB
-rwxr-xr-x
lwp-dump
2.65
KB
-rwxr-xr-x
lwp-mirror
2.36
KB
-rwxr-xr-x
lwp-request
15.82
KB
-rwxr-xr-x
lynx
1.89
MB
-rwxr-xr-x
lzcat
82.52
KB
-rwxr-xr-x
lzcmp
6.86
KB
-rwxr-xr-x
lzdiff
6.86
KB
-rwxr-xr-x
lzegrep
5.87
KB
-rwxr-xr-x
lzfgrep
5.87
KB
-rwxr-xr-x
lzgrep
5.87
KB
-rwxr-xr-x
lzless
1.76
KB
-rwxr-xr-x
lzma
82.52
KB
-rwxr-xr-x
lzmainfo
14.23
KB
-rwxr-xr-x
lzmore
2.11
KB
-rwxr-xr-x
m17n-db
3.65
KB
-rwxr-xr-x
m4
154.37
KB
-rwxr-xr-x
mac2unix
54.34
KB
-rwxr-xr-x
macptopbm
14.02
KB
-rwxr-xr-x
mag
14.31
KB
-rwxr-xr-x
mail
110.4
KB
-rwxr-xr-x
mail-lock
14.16
KB
-rwxr-sr-x
mail-touchlock
14.16
KB
-rwxr-sr-x
mail-unlock
14.16
KB
-rwxr-sr-x
mail.mailutils
229.38
KB
-rwxr-xr-x
mailbot
106.27
KB
-rwxr-xr-x
maildirmake
42.23
KB
-rwxr-xr-x
maildirmake.maildrop
42.23
KB
-rwxr-xr-x
maildrop
210.44
KB
-rwxr-sr-x
mailq
30.45
KB
-rwxr-xr-x
mailstat
5.72
KB
-rwxr-xr-x
mailx
110.4
KB
-rwxr-xr-x
make
249.7
KB
-rwxr-xr-x
make-first-existing-target
4.79
KB
-rwxr-xr-x
make_method
21.64
KB
-rwxr-xr-x
makeconv
50.89
KB
-rwxr-xr-x
makedat
2.13
KB
-rwxr-xr-x
makedat.maildrop
2.13
KB
-rwxr-xr-x
makedatprog
14.15
KB
-rwxr-xr-x
makeindex
84.7
KB
-rwxr-xr-x
makejvf
46.31
KB
-rwxr-xr-x
makemime
34.15
KB
-rwxr-xr-x
man
117.68
KB
-rwxr-xr-x
man-recode
35.68
KB
-rwxr-xr-x
mandb
139.94
KB
-rwxr-xr-x
manifest
1.9
KB
-rwxr-xr-x
manpage-alert
4.61
KB
-rwxr-xr-x
manpath
30.78
KB
-rwxr-xr-x
mapscrn
30.32
KB
-rwxr-xr-x
marcdump
5.31
KB
-rwxr-xr-x
mass-bug
17.06
KB
-rwxr-xr-x
mawk
154.79
KB
-rwxr-xr-x
mc
1.05
MB
-rwxr-xr-x
mcdiff
1.05
MB
-rwxr-xr-x
mcedit
1.05
MB
-rwxr-xr-x
mcookie
26.45
KB
-rwxr-xr-x
mcview
1.05
MB
-rwxr-xr-x
md5sum
42.41
KB
-rwxr-xr-x
md5sum.textutils
42.41
KB
-rwxr-xr-x
mdatopbm
14.02
KB
-rwxr-xr-x
mdig
50.4
KB
-rwxr-xr-x
mech-dump
4.75
KB
-rwxr-xr-x
mediainfo
46.24
KB
-rwxr-xr-x
mendex
113.22
KB
-rwxr-xr-x
merge
30.45
KB
-rwxr-xr-x
mergechanges
11.16
KB
-rwxr-xr-x
mesg
14.38
KB
-rwxr-xr-x
messages
14.67
KB
-rwxr-xr-x
messages.mailutils
14.67
KB
-rwxr-xr-x
mf
391.94
KB
-rwxr-xr-x
mf-nowin
383.58
KB
-rwxr-xr-x
mflua
1.37
MB
-rwxr-xr-x
mflua-nowin
1.37
MB
-rwxr-xr-x
mfluajit
1.37
MB
-rwxr-xr-x
mfluajit-nowin
1.37
MB
-rwxr-xr-x
mfplain
800
KB
-rwxr-xr-x
mft
46.41
KB
-rwxr-xr-x
mgrtopbm
14.02
KB
-rwxr-xr-x
migrate-pubring-from-classic-g...
2.99
KB
-rwxr-xr-x
mimeview
19.35
KB
-rwxr-xr-x
mk-build-deps
19.31
KB
-rwxr-xr-x
mk-origtargz
6.92
KB
-rwxr-xr-x
mk_modmap
15.78
KB
-rwxr-xr-x
mkdir
66.51
KB
-rwxr-xr-x
mkfifo
38.51
KB
-rwxr-xr-x
mkindex
1.03
KB
-rwxr-xr-x
mknod
42.51
KB
-rwxr-xr-x
mkocp
171
B
-rwxr-xr-x
mkofm
85
B
-rwxr-xr-x
mkpasswd
26.38
KB
-rwxr-xr-x
mktemp
38.51
KB
-rwxr-xr-x
mktexfmt
53.83
KB
-rwxr-xr-x
mktexlsr
8.03
KB
-rwxr-xr-x
mktexmf
3.91
KB
-rwxr-xr-x
mktexpk
9.66
KB
-rwxr-xr-x
mktextfm
5.77
KB
-rwxr-xr-x
mlock
14.15
KB
-rwxr-sr-x
mlogc
42.2
KB
-rwxr-xr-x
mmroff
3.75
KB
-rwxr-xr-x
mogrify
14.15
KB
-rwxr-xr-x
mogrify-im6
14.15
KB
-rwxr-xr-x
mogrify-im6.q16
14.15
KB
-rwxr-xr-x
mokutil
59.48
KB
-rwxr-xr-x
montage
14.15
KB
-rwxr-xr-x
montage-im6
14.15
KB
-rwxr-xr-x
montage-im6.q16
14.15
KB
-rwxr-xr-x
more
42.38
KB
-rwxr-xr-x
mount
46.38
KB
-rwsr-xr-x
mountpoint
18.38
KB
-rwxr-xr-x
movemail
40.26
KB
-rwxr-xr-x
movemail.mailutils
40.26
KB
-rwxr-xr-x
mp3-decoder
155.63
KB
-rwxr-xr-x
mpack
26.47
KB
-rwxr-xr-x
mpg123
155.63
KB
-rwxr-xr-x
mpg123-alsa
50
B
-rwxr-xr-x
mpg123-id3dump
22.63
KB
-rwxr-xr-x
mpg123-jack
50
B
-rwxr-xr-x
mpg123-nas
49
B
-rwxr-xr-x
mpg123-openal
52
B
-rwxr-xr-x
mpg123-oss
49
B
-rwxr-xr-x
mpg123-portaudio
55
B
-rwxr-xr-x
mpg123-pulse
51
B
-rwxr-xr-x
mpg123-strip
14.58
KB
-rwxr-xr-x
mpg123.bin
155.63
KB
-rwxr-xr-x
mpost
800
KB
-rwxr-xr-x
mpstat
50.45
KB
-rwxr-xr-x
mptopdf
4.37
KB
-rwxr-xr-x
msgattrib
26.38
KB
-rwxr-xr-x
msgcat
26.38
KB
-rwxr-xr-x
msgcmp
26.38
KB
-rwxr-xr-x
msgcomm
26.38
KB
-rwxr-xr-x
msgconv
22.38
KB
-rwxr-xr-x
msgen
22.38
KB
-rwxr-xr-x
msgexec
22.38
KB
-rwxr-xr-x
msgfilter
34.38
KB
-rwxr-xr-x
msgfmt
82.59
KB
-rwxr-xr-x
msggrep
114.46
KB
-rwxr-xr-x
msginit
66.39
KB
-rwxr-xr-x
msgmerge
74.41
KB
-rwxr-xr-x
msgunfmt
34.39
KB
-rwxr-xr-x
msguniq
22.38
KB
-rwxr-xr-x
msxlint
18.33
KB
-rwxr-xr-x
mt
66.73
KB
-rwxr-xr-x
mt-gnu
66.73
KB
-rwxr-xr-x
mtr
114.01
KB
-rwxr-xr-x
mtr-packet
38.3
KB
-rwxr-xr-x
mtvtoppm
14.02
KB
-rwxr-xr-x
multilog
30.09
KB
-rwxr-xr-x
multitail
266.06
KB
-rwxr-xr-x
multixterm
29.85
KB
-rwxr-xr-x
munchlist
31.23
KB
-rwxr-xr-x
munpack
46.38
KB
-rwxr-xr-x
mutt
1.22
MB
-rwxr-xr-x
mutt_dotlock
14.3
KB
-rwxr-sr-x
mv
134.52
KB
-rwxr-xr-x
myisam_ftdump
6.35
MB
-rwxr-xr-x
mysql
6.65
MB
-rwxr-xr-x
mysql_config
4.97
KB
-rwxr-xr-x
mysql_config_editor
157.03
KB
-rwxr-xr-x
mysqladmin
6.49
MB
-rwxr-xr-x
mysqlanalyze
6.49
MB
-rwxr-xr-x
mysqlcheck
6.49
MB
-rwxr-xr-x
mysqldump
6.57
MB
-rwxr-xr-x
mysqldumpslow
7.54
KB
-rwxr-xr-x
mysqlimport
6.48
MB
-rwxr-xr-x
mysqloptimize
6.49
MB
-rwxr-xr-x
mysqlpump
6.85
MB
-rwxr-xr-x
mysqlrepair
6.49
MB
-rwxr-xr-x
mysqlreport
38.1
KB
-rwxr-xr-x
mysqlshow
6.49
MB
-rwxr-xr-x
mysqlslap
6.5
MB
-rwxr-xr-x
name2addr
14.38
KB
-rwxr-xr-x
namecheck
5.18
KB
-rwxr-xr-x
namei
22.38
KB
-rwxr-xr-x
nano
276.52
KB
-rwxr-xr-x
native2ascii
14.32
KB
-rwxr-xr-x
nawk
688.46
KB
-rwxr-xr-x
nc
38.63
KB
-rwxr-xr-x
nc.openbsd
38.63
KB
-rwxr-xr-x
ncal
36.95
KB
-rwxr-xr-x
ncftp
314.39
KB
-rwxr-xr-x
ncftp3
314.39
KB
-rwxr-xr-x
ncftpbatch
214.42
KB
-rwxr-xr-x
ncftpbookmarks
151.23
KB
-rwxr-xr-x
ncftpget
214.45
KB
-rwxr-xr-x
ncftpls
178.45
KB
-rwxr-xr-x
ncftpput
210.45
KB
-rwxr-xr-x
ncftpspooler
214.42
KB
-rwxr-xr-x
ncurses5-config
8.21
KB
-rwxr-xr-x
ncurses6-config
8.21
KB
-rwxr-xr-x
ncursesw5-config
8.21
KB
-rwxr-xr-x
ncursesw6-config
8.21
KB
-rwxr-xr-x
ndisc6
18.38
KB
-rwsr-xr-x
neotoppm
14.02
KB
-rwxr-xr-x
neqn
913
B
-rwxr-xr-x
net-server
3.34
KB
-rwxr-xr-x
netcat
38.63
KB
-rwxr-xr-x
netstat
154.59
KB
-rwxr-xr-x
networkctl
102.38
KB
-rwxr-xr-x
networkd-dispatcher
19.71
KB
-rwxr-xr-x
newaliases
30.45
KB
-rwxr-xr-x
newgrp
39.55
KB
-rwsr-xr-x
ngettext
34.38
KB
-rwxr-xr-x
nice
34.51
KB
-rwxr-xr-x
nisdomainname
22.23
KB
-rwxr-xr-x
nl
98.57
KB
-rwxr-xr-x
nm
43.63
KB
-rwxr-xr-x
nmudiff
12.79
KB
-rwxr-xr-x
nn
337.52
KB
-rwxr-xr-x
nnadmin
337.52
KB
-rwxr-xr-x
nnbatch
337.52
KB
-rwxr-xr-x
nncheck
337.52
KB
-rwxr-xr-x
nngoback
337.52
KB
-rwxr-xr-x
nngrab
943
B
-rwxr-xr-x
nngrep
337.52
KB
-rwxr-xr-x
nnpost
337.52
KB
-rwxr-xr-x
nnstats
3.2
KB
-rwxr-xr-x
nntidy
337.52
KB
-rwxr-xr-x
nnusage
1.31
KB
-rwxr-xr-x
nnview
337.52
KB
-rwxr-xr-x
node
26.08
KB
-rwxr-xr-x
nodejs
26.08
KB
-rwxr-xr-x
nohup
34.41
KB
-rwxr-xr-x
nokogiri
551
B
-rwxr-xr-x
nproc
34.51
KB
-rwxr-xr-x
nroff
3.22
KB
-rwxr-xr-x
nsenter
26.6
KB
-rwxr-xr-x
nslookup
118.82
KB
-rwxr-xr-x
nstat
30.38
KB
-rwxr-xr-x
nsupdate
74.55
KB
-rwxr-xr-x
ntfs-3g
159.01
KB
-rwxr-xr-x
ntfs-3g.probe
14.38
KB
-rwxr-xr-x
ntfscat
26.38
KB
-rwxr-xr-x
ntfscluster
38.38
KB
-rwxr-xr-x
ntfscmp
30.38
KB
-rwxr-xr-x
ntfsdecrypt
42.38
KB
-rwxr-xr-x
ntfsfallocate
26.38
KB
-rwxr-xr-x
ntfsfix
34.38
KB
-rwxr-xr-x
ntfsinfo
54.38
KB
-rwxr-xr-x
ntfsls
27.45
KB
-rwxr-xr-x
ntfsmove
30.38
KB
-rwxr-xr-x
ntfsrecover
106.38
KB
-rwxr-xr-x
ntfssecaudit
78.86
KB
-rwxr-xr-x
ntfstruncate
26.3
KB
-rwxr-xr-x
ntfsusermap
18.3
KB
-rwxr-xr-x
ntfswipe
42.91
KB
-rwxr-xr-x
ntpdc
150.27
KB
-rwxr-xr-x
ntpq
188.3
KB
-rwxr-xr-x
ntpsweep
7.79
KB
-rwxr-xr-x
ntptrace
3.48
KB
-rwxr-xr-x
numfmt
54.54
KB
-rwxr-xr-x
objcopy
162.54
KB
-rwxr-xr-x
objdump
365.13
KB
-rwxr-xr-x
od
66.51
KB
-rwxr-xr-x
odvicopy
54.4
KB
-rwxr-xr-x
odvitype
46.42
KB
-rwxr-xr-x
oem-getlogs
8.59
KB
-rwxr-xr-x
ofm2opl
107.65
KB
-rwxr-xr-x
omfonts
107.65
KB
-rwxr-xr-x
on_ac_power
3.7
KB
-rwxr-xr-x
open
25.46
KB
-rwxr-xr-x
openipmi_eventd
30.23
KB
-rwxr-xr-x
openipmicmd
26.16
KB
-rwxr-xr-x
openipmish
38.8
KB
-rwxr-xr-x
openssl
977.8
KB
-rwxr-xr-x
openvt
22.59
KB
-rwxr-xr-x
opl2ofm
107.65
KB
-rwxr-xr-x
orbd
14.38
KB
-rwxr-xr-x
origtargz
12.69
KB
-rwxr-xr-x
otangle
38.39
KB
-rwxr-xr-x
otp2ocp
30.31
KB
-rwxr-xr-x
out123
69.48
KB
-rwxr-xr-x
outocp
14.38
KB
-rwxr-xr-x
ovf2ovp
107.65
KB
-rwxr-xr-x
ovp2ovf
107.65
KB
-rwxr-xr-x
pack200
14.32
KB
-rwxr-xr-x
pager
194.38
KB
-rwxr-xr-x
palmtopnm
22.02
KB
-rwxr-xr-x
pamcut
18.02
KB
-rwxr-xr-x
pamdeinterlace
14.02
KB
-rwxr-xr-x
pamdice
14.02
KB
-rwxr-xr-x
pamfile
14.02
KB
-rwxr-xr-x
pamoil
14.02
KB
-rwxr-xr-x
pamstack
14.02
KB
-rwxr-xr-x
pamstretch
14.02
KB
-rwxr-xr-x
pamstretch-gen
1.31
KB
-rwxr-xr-x
paperconf
14.15
KB
-rwxr-xr-x
partx
58.38
KB
-rwxr-xr-x
passenger
1.64
KB
-rwxr-xr-x
passenger-config
1.5
KB
-rwxr-xr-x
passmass
4.45
KB
-rwxr-xr-x
passwd
58.57
KB
-rwsr-xr-x
paste
34.41
KB
-rwxr-xr-x
pastebinit
16.12
KB
-rwxr-xr-x
pasteurize
964
B
-rwxr-xr-x
patch
186.52
KB
-rwxr-xr-x
patchview
55.48
KB
-rwxr-xr-x
patgen
34.38
KB
-rwxr-xr-x
pathchk
34.51
KB
-rwxr-xr-x
pbget
2.51
KB
-rwxr-xr-x
pbibtex
110.39
KB
-rwxr-xr-x
pbmclean
14.02
KB
-rwxr-xr-x
pbmlife
14.02
KB
-rwxr-xr-x
pbmmake
14.02
KB
-rwxr-xr-x
pbmmask
14.02
KB
-rwxr-xr-x
pbmpage
14.02
KB
-rwxr-xr-x
pbmpscale
14.13
KB
-rwxr-xr-x
pbmreduce
14.02
KB
-rwxr-xr-x
pbmtext
14.02
KB
-rwxr-xr-x
pbmtextps
14.02
KB
-rwxr-xr-x
pbmto10x
14.02
KB
-rwxr-xr-x
pbmtoascii
14.29
KB
-rwxr-xr-x
pbmtoatk
14.02
KB
-rwxr-xr-x
pbmtobbnbg
14.02
KB
-rwxr-xr-x
pbmtocmuwm
14.02
KB
-rwxr-xr-x
pbmtoepsi
14.02
KB
-rwxr-xr-x
pbmtoepson
14.02
KB
-rwxr-xr-x
pbmtog3
17.13
KB
-rwxr-xr-x
pbmtogem
14.02
KB
-rwxr-xr-x
pbmtogo
14.02
KB
-rwxr-xr-x
pbmtoicon
14.02
KB
-rwxr-xr-x
pbmtolj
18.03
KB
-rwxr-xr-x
pbmtomacp
14.02
KB
-rwxr-xr-x
pbmtomda
14.02
KB
-rwxr-xr-x
pbmtomgr
14.02
KB
-rwxr-xr-x
pbmtonokia
14.02
KB
-rwxr-xr-x
pbmtopgm
14.02
KB
-rwxr-xr-x
pbmtopi3
14.02
KB
-rwxr-xr-x
pbmtoplot
14.02
KB
-rwxr-xr-x
pbmtoppa
30.03
KB
-rwxr-xr-x
pbmtopsg3
15.66
KB
-rwxr-xr-x
pbmtoptx
14.02
KB
-rwxr-xr-x
pbmtowbmp
14.02
KB
-rwxr-xr-x
pbmtox10bm
14.02
KB
-rwxr-xr-x
pbmtoxbm
14.02
KB
-rwxr-xr-x
pbmtoybm
14.02
KB
-rwxr-xr-x
pbmtozinc
14.02
KB
-rwxr-xr-x
pbmupc
22.02
KB
-rwxr-xr-x
pbput
2.51
KB
-rwxr-xr-x
pbputs
2.51
KB
-rwxr-xr-x
pchrt
4.51
KB
-rwxr-xr-x
pcxtoppm
22.02
KB
-rwxr-xr-x
pdb3
61.74
KB
-rwxr-xr-x
pdb3.10
61.74
KB
-rwxr-xr-x
pdf2dsc
698
B
-rwxr-xr-x
pdf2ps
909
B
-rwxr-xr-x
pdfattach
18.38
KB
-rwxr-xr-x
pdfclose
14.3
KB
-rwxr-xr-x
pdfdetach
22.49
KB
-rwxr-xr-x
pdfetex
1.72
MB
-rwxr-xr-x
pdffonts
22.52
KB
-rwxr-xr-x
pdfimages
38.52
KB
-rwxr-xr-x
pdfinfo
58.52
KB
-rwxr-xr-x
pdflatex
1.72
MB
-rwxr-xr-x
pdfmom
3.03
KB
-rwxr-xr-x
pdfopen
26.38
KB
-rwxr-xr-x
pdfroff
20.96
KB
-rwxr-xr-x
pdfseparate
22.38
KB
-rwxr-xr-x
pdfsig
34.77
KB
-rwxr-xr-x
pdftex
1.72
MB
-rwxr-xr-x
pdftocairo
134.48
KB
-rwxr-xr-x
pdftohtml
106.41
KB
-rwxr-xr-x
pdftoppm
34.41
KB
-rwxr-xr-x
pdftops
34.53
KB
-rwxr-xr-x
pdftosrc
809.88
KB
-rwxr-xr-x
pdftotext
42.52
KB
-rwxr-xr-x
pdfunite
30.38
KB
-rwxr-xr-x
pdvitomp
804.04
KB
-rwxr-xr-x
pdvitype
58.43
KB
-rwxr-xr-x
peekfd
14.3
KB
-rwxr-xr-x
perl
3.63
MB
-rwxr-xr-x
perl5.34-x86_64-linux-gnu
14.3
KB
-rwxr-xr-x
perl5.34.0
3.63
MB
-rwxr-xr-x
perlbug
44.12
KB
-rwxr-xr-x
perldoc
262
B
-rwxr-xr-x
perldoc.stub
125
B
-rwxr-xr-x
perlivp
10.61
KB
-rwxr-xr-x
perlsh
11.76
KB
-rwxr-xr-x
perlthanks
44.12
KB
-rwxr-xr-x
pf2afm
498
B
-rwxr-xr-x
pfb2pfa
14.3
KB
-rwxr-xr-x
pfbtopfa
516
B
-rwxr-xr-x
pfbtops
26.38
KB
-rwxr-xr-x
pg_basebackup
9.21
KB
-rwxr-xr-x
pg_dump
9.21
KB
-rwxr-xr-x
pg_dumpall
9.21
KB
-rwxr-xr-x
pg_isready
9.21
KB
-rwxr-xr-x
pg_receivewal
9.21
KB
-rwxr-xr-x
pg_receivexlog
9.21
KB
-rwxr-xr-x
pg_recvlogical
9.21
KB
-rwxr-xr-x
pg_restore
9.21
KB
-rwxr-xr-x
pgbench
9.21
KB
-rwxr-xr-x
pgmbentley
14.02
KB
-rwxr-xr-x
pgmcrater
18.05
KB
-rwxr-xr-x
pgmedge
14.02
KB
-rwxr-xr-x
pgmenhance
14.02
KB
-rwxr-xr-x
pgmhist
14.02
KB
-rwxr-xr-x
pgmkernel
14.02
KB
-rwxr-xr-x
pgmnoise
14.02
KB
-rwxr-xr-x
pgmnorm
14.02
KB
-rwxr-xr-x
pgmoil
14.02
KB
-rwxr-xr-x
pgmramp
14.02
KB
-rwxr-xr-x
pgmslice
14.02
KB
-rwxr-xr-x
pgmtexture
30.02
KB
-rwxr-xr-x
pgmtofs
14.02
KB
-rwxr-xr-x
pgmtolispm
14.02
KB
-rwxr-xr-x
pgmtopbm
20.45
KB
-rwxr-xr-x
pgmtoppm
14.02
KB
-rwxr-xr-x
pgrep
30.24
KB
-rwxr-xr-x
pgrphack
21.99
KB
-rwxr-xr-x
php
12.01
MB
-rwxr-xr-x
pi1toppm
14.02
KB
-rwxr-xr-x
pi3topbm
14.02
KB
-rwxr-xr-x
pic
200.04
KB
-rwxr-xr-x
pic2graph
3.66
KB
-rwxr-xr-x
pico
276.52
KB
-rwxr-xr-x
piconv
8.16
KB
-rwxr-xr-x
pidof
30.38
KB
-rwxr-xr-x
pidstat
50.45
KB
-rwxr-xr-x
pidwait
30.24
KB
-rwxr-xr-x
pinentry
58.65
KB
-rwxr-xr-x
pinentry-curses
58.65
KB
-rwxr-xr-x
ping
74.88
KB
-rwxr-xr-x
ping4
74.88
KB
-rwxr-xr-x
ping6
74.88
KB
-rwxr-xr-x
pinky
34.41
KB
-rwxr-xr-x
pip
221
B
-rwxr-xr-x
pip3
221
B
-rwxr-xr-x
pip3.10
221
B
-rwxr-xr-x
pjtoppm
18.03
KB
-rwxr-xr-x
pk2bm
18.3
KB
-rwxr-xr-x
pkaction
18.3
KB
-rwxr-xr-x
pkcheck
22.3
KB
-rwxr-xr-x
pkcon
58.3
KB
-rwxr-xr-x
pkexec
30.15
KB
-rwsr-xr-x
pkg-config
50.28
KB
-rwxr-xr-x
pkgdata
43.53
KB
-rwxr-xr-x
pkill
30.24
KB
-rwxr-xr-x
pkmon
22.3
KB
-rwxr-xr-x
pktogf
22.38
KB
-rwxr-xr-x
pkttyagent
18.3
KB
-rwxr-xr-x
pktype
18.38
KB
-rwxr-xr-x
pl2pm
4.43
KB
-rwxr-xr-x
pldd
22.37
KB
-rwxr-xr-x
plotchangelog
13.42
KB
-rwxr-xr-x
pltotf
46.38
KB
-rwxr-xr-x
plymouth
46.3
KB
-rwxr-xr-x
pmap
34.24
KB
-rwxr-xr-x
pmpost
804.04
KB
-rwxr-xr-x
pmxab
618.03
KB
-rwxr-xr-x
pngtogd
14.15
KB
-rwxr-xr-x
pngtogd2
14.15
KB
-rwxr-xr-x
pngtopnm
26.11
KB
-rwxr-xr-x
pnmalias
18.02
KB
-rwxr-xr-x
pnmarith
14.02
KB
-rwxr-xr-x
pnmcat
14.02
KB
-rwxr-xr-x
pnmcolormap
18.02
KB
-rwxr-xr-x
pnmcomp
14.02
KB
-rwxr-xr-x
pnmconvol
42.02
KB
-rwxr-xr-x
pnmcrop
14.02
KB
-rwxr-xr-x
pnmcut
14.02
KB
-rwxr-xr-x
pnmdepth
14.02
KB
-rwxr-xr-x
pnmenlarge
14.02
KB
-rwxr-xr-x
pnmfile
14.02
KB
-rwxr-xr-x
pnmflip
14.02
KB
-rwxr-xr-x
pnmgamma
18.02
KB
-rwxr-xr-x
pnmhisteq
18.02
KB
-rwxr-xr-x
pnmhistmap
14.02
KB
-rwxr-xr-x
pnmindex
4.49
KB
-rwxr-xr-x
pnminterp
14.02
KB
-rwxr-xr-x
pnminterp-gen
1.31
KB
-rwxr-xr-x
pnminvert
14.02
KB
-rwxr-xr-x
pnmmargin
1.73
KB
-rwxr-xr-x
pnmmontage
18.03
KB
-rwxr-xr-x
pnmnlfilt
22.09
KB
-rwxr-xr-x
pnmnoraw
14.02
KB
-rwxr-xr-x
pnmnorm
14.02
KB
-rwxr-xr-x
pnmpad
14.02
KB
-rwxr-xr-x
pnmpaste
14.02
KB
-rwxr-xr-x
pnmpsnr
14.02
KB
-rwxr-xr-x
pnmquant
3.13
KB
-rwxr-xr-x
pnmremap
18.02
KB
-rwxr-xr-x
pnmrotate
18.02
KB
-rwxr-xr-x
pnmscale
22.02
KB
-rwxr-xr-x
pnmscalefixed
18.02
KB
-rwxr-xr-x
pnmshear
14.02
KB
-rwxr-xr-x
pnmsmooth
14.02
KB
-rwxr-xr-x
pnmsplit
14.02
KB
-rwxr-xr-x
pnmtile
14.02
KB
-rwxr-xr-x
pnmtoddif
18.02
KB
-rwxr-xr-x
pnmtofiasco
208.05
KB
-rwxr-xr-x
pnmtofits
14.02
KB
-rwxr-xr-x
pnmtojpeg
22.02
KB
-rwxr-xr-x
pnmtopalm
22.02
KB
-rwxr-xr-x
pnmtoplainpnm
14.02
KB
-rwxr-xr-x
pnmtopng
38.09
KB
-rwxr-xr-x
pnmtops
18.02
KB
-rwxr-xr-x
pnmtorast
14.02
KB
-rwxr-xr-x
pnmtorle
42.3
KB
-rwxr-xr-x
pnmtosgi
18.02
KB
-rwxr-xr-x
pnmtosir
14.02
KB
-rwxr-xr-x
pnmtotiff
18.02
KB
-rwxr-xr-x
pnmtotiffcmyk
22.02
KB
-rwxr-xr-x
pnmtoxwd
14.02
KB
-rwxr-xr-x
pod2html
4.04
KB
-rwxr-xr-x
pod2man
14.68
KB
-rwxr-xr-x
pod2text
10.55
KB
-rwxr-xr-x
pod2usage
4.01
KB
-rwxr-xr-x
podchecker
3.57
KB
-rwxr-xr-x
policytool
14.32
KB
-rwxr-xr-x
pollinate
8.54
KB
-rwxr-xr-x
pooltype
14.37
KB
-rwxr-xr-x
post-grohtml
198.51
KB
-rwxr-xr-x
pphs
404
B
-rwxr-xr-x
ppltotf
62.39
KB
-rwxr-xr-x
ppm3d
18.02
KB
-rwxr-xr-x
ppmbrighten
14.02
KB
-rwxr-xr-x
ppmchange
14.02
KB
-rwxr-xr-x
ppmcie
26.19
KB
-rwxr-xr-x
ppmcolormask
14.02
KB
-rwxr-xr-x
ppmcolors
14.02
KB
-rwxr-xr-x
ppmdim
14.02
KB
-rwxr-xr-x
ppmdist
14.02
KB
-rwxr-xr-x
ppmdither
14.02
KB
-rwxr-xr-x
ppmfade
11.39
KB
-rwxr-xr-x
ppmflash
14.02
KB
-rwxr-xr-x
ppmforge
22.03
KB
-rwxr-xr-x
ppmhist
14.02
KB
-rwxr-xr-x
ppmlabel
14.02
KB
-rwxr-xr-x
ppmmake
14.02
KB
-rwxr-xr-x
ppmmix
14.02
KB
-rwxr-xr-x
ppmnorm
14.02
KB
-rwxr-xr-x
ppmntsc
18.02
KB
-rwxr-xr-x
ppmpat
26.02
KB
-rwxr-xr-x
ppmquant
18.02
KB
-rwxr-xr-x
ppmquantall
2.02
KB
-rwxr-xr-x
ppmqvga
18.02
KB
-rwxr-xr-x
ppmrainbow
1.67
KB
-rwxr-xr-x
ppmrelief
14.02
KB
-rwxr-xr-x
ppmshadow
6.67
KB
-rwxr-xr-x
ppmshift
14.02
KB
-rwxr-xr-x
ppmspread
14.02
KB
-rwxr-xr-x
ppmtoacad
18.88
KB
-rwxr-xr-x
ppmtobmp
18.07
KB
-rwxr-xr-x
ppmtoeyuv
14.02
KB
-rwxr-xr-x
ppmtogif
22.03
KB
-rwxr-xr-x
ppmtoicr
14.02
KB
-rwxr-xr-x
ppmtoilbm
46.11
KB
-rwxr-xr-x
ppmtojpeg
22.02
KB
-rwxr-xr-x
ppmtoleaf
14.02
KB
-rwxr-xr-x
ppmtolj
14.02
KB
-rwxr-xr-x
ppmtomap
81
B
-rwxr-xr-x
ppmtomitsu
22.02
KB
-rwxr-xr-x
ppmtompeg
541.94
KB
-rwxr-xr-x
ppmtoneo
14.02
KB
-rwxr-xr-x
ppmtopcx
18.02
KB
-rwxr-xr-x
ppmtopgm
18.02
KB
-rwxr-xr-x
ppmtopi1
14.02
KB
-rwxr-xr-x
ppmtopict
14.02
KB
-rwxr-xr-x
ppmtopj
14.09
KB
-rwxr-xr-x
ppmtopuzz
14.02
KB
-rwxr-xr-x
ppmtorgb3
14.02
KB
-rwxr-xr-x
ppmtosixel
14.02
KB
-rwxr-xr-x
ppmtotga
18.02
KB
-rwxr-xr-x
ppmtouil
14.02
KB
-rwxr-xr-x
ppmtowinicon
18.05
KB
-rwxr-xr-x
ppmtoxpm
18.02
KB
-rwxr-xr-x
ppmtoyuv
14.02
KB
-rwxr-xr-x
ppmtoyuvsplit
14.02
KB
-rwxr-xr-x
ppmtv
14.02
KB
-rwxr-xr-x
pr
66.58
KB
-rwxr-xr-x
pre-grohtml
90.52
KB
-rwxr-xr-x
precat
5.52
KB
-rwxr-xr-x
preconv
54.48
KB
-rwxr-xr-x
prepmx
131.63
KB
-rwxr-xr-x
preunzip
5.52
KB
-rwxr-xr-x
prezip
5.52
KB
-rwxr-xr-x
prezip-bin
14.3
KB
-rwxr-xr-x
print
18.06
KB
-rwxr-xr-x
printafm
395
B
-rwxr-xr-x
printenv
30.38
KB
-rwxr-xr-x
printf
50.44
KB
-rwxr-xr-x
prlimit
26.89
KB
-rwxr-xr-x
pro
1003
B
-rwxr-xr-x
procan
30.4
KB
-rwxr-xr-x
procinfo
106.2
KB
-rwxr-xr-x
procmail
106.52
KB
-rwsr-sr-x
prove
13.34
KB
-rwxr-xr-x
prtstat
22.38
KB
-rwxr-xr-x
ps
138.45
KB
-rwxr-xr-x
ps2ascii
631
B
-rwxr-xr-x
ps2epsi
1.23
KB
-rwxr-xr-x
ps2pdf
272
B
-rwxr-xr-x
ps2pdf12
215
B
-rwxr-xr-x
ps2pdf13
215
B
-rwxr-xr-x
ps2pdf14
215
B
-rwxr-xr-x
ps2pdfwr
1.05
KB
-rwxr-xr-x
ps2pk
129.27
KB
-rwxr-xr-x
ps2ps
647
B
-rwxr-xr-x
ps2ps2
669
B
-rwxr-xr-x
ps2txt
631
B
-rwxr-xr-x
psfaddtable
26.23
KB
-rwxr-xr-x
psfgettable
26.23
KB
-rwxr-xr-x
psfstriptable
26.23
KB
-rwxr-xr-x
psfxtable
26.23
KB
-rwxr-xr-x
psidtopgm
14.02
KB
-rwxr-xr-x
pslog
14.3
KB
-rwxr-xr-x
psql
9.21
KB
-rwxr-xr-x
pstopnm
18.02
KB
-rwxr-xr-x
pstree
35.32
KB
-rwxr-xr-x
pstree.x11
35.32
KB
-rwxr-xr-x
ptar
3.48
KB
-rwxr-xr-x
ptardiff
2.58
KB
-rwxr-xr-x
ptargrep
4.29
KB
-rwxr-xr-x
ptaskset
4.46
KB
-rwxr-xr-x
ptex
456.16
KB
-rwxr-xr-x
ptftopl
46.41
KB
-rwxr-xr-x
pth-config
3.93
KB
-rwxr-xr-x
pts-subscribe
4.66
KB
-rwxr-xr-x
pts-unsubscribe
4.66
KB
-rwxr-xr-x
ptx
126.55
KB
-rwxr-xr-x
puma
527
B
-rwxr-xr-x
pumactl
533
B
-rwxr-xr-x
purge-old-kernels
1.12
KB
-rwxr-xr-x
pwd
34.51
KB
-rwxr-xr-x
pwdx
14.23
KB
-rwxr-xr-x
py3clean
7.63
KB
-rwxr-xr-x
py3compile
12.88
KB
-rwxr-xr-x
py3rsa-decrypt
952
B
-rwxr-xr-x
py3rsa-encrypt
952
B
-rwxr-xr-x
py3rsa-keygen
950
B
-rwxr-xr-x
py3rsa-priv2pub
954
B
-rwxr-xr-x
py3rsa-sign
946
B
-rwxr-xr-x
py3rsa-verify
950
B
-rwxr-xr-x
py3versions
11.63
KB
-rwxr-xr-x
pybabel
953
B
-rwxr-xr-x
pybabel-python3
953
B
-rwxr-xr-x
pydoc3
79
B
-rwxr-xr-x
pydoc3.10
79
B
-rwxr-xr-x
pygettext3
23.67
KB
-rwxr-xr-x
pygettext3.10
23.67
KB
-rwxr-xr-x
pygmentize
970
B
-rwxr-xr-x
pyserial-miniterm
975
B
-rwxr-xr-x
pyserial-ports
969
B
-rwxr-xr-x
python
5.66
MB
-rwxr-xr-x
python2.7
3.43
MB
-rwxr-xr-x
python3
5.66
MB
-rwxr-xr-x
python3-config
3.05
KB
-rwxr-xr-x
python3-futurize
960
B
-rwxr-xr-x
python3-pasteurize
964
B
-rwxr-xr-x
python3.10
5.66
MB
-rwxr-xr-x
python3.10-config
3.05
KB
-rwxr-xr-x
pzstd
702.47
KB
-rwxr-xr-x
qrttoppm
14.02
KB
-rwxr-xr-x
qsexec
18.15
KB
-rwxr-xr-x
qsfilter2
54.16
KB
-rwxr-xr-x
qsgrep
18.15
KB
-rwxr-xr-x
qslog
58.16
KB
-rwxr-xr-x
qslogger
22.23
KB
-rwxr-xr-x
qspng
35.59
KB
-rwxr-xr-x
qsrotate
30.18
KB
-rwxr-xr-x
qssign
30.25
KB
-rwxr-xr-x
qstail
14.15
KB
-rwxr-xr-x
qt-faststart
18.3
KB
-rwxr-xr-x
r-mpost
800
KB
-rwxr-xr-x
r-pmpost
804.04
KB
-rwxr-xr-x
r-upmpost
808.04
KB
-rwxr-xr-x
racc
8.28
KB
-rwxr-xr-x
racc2y
4.53
KB
-rwxr-xr-x
racc3.0
586
B
-rwxr-xr-x
rackup
531
B
-rwxr-xr-x
rails
545
B
-rwxr-xr-x
rake
527
B
-rwxr-xr-x
rake3.0
530
B
-rwxr-xr-x
ranlib
54.48
KB
-rwxr-xr-x
rasttopnm
18.02
KB
-rwxr-xr-x
rawtopgm
14.02
KB
-rwxr-xr-x
rawtoppm
14.02
KB
-rwxr-xr-x
rbash
1.33
MB
-rwxr-xr-x
rbs3.0
524
B
-rwxr-xr-x
rc-alert
15.01
KB
-rwxr-xr-x
rcp
130.59
KB
-rwxr-xr-x
rcs
194.88
KB
-rwxr-xr-x
rcsclean
825
B
-rwxr-xr-x
rcsdiff
822
B
-rwxr-xr-x
rcsmerge
825
B
-rwxr-xr-x
rdebsums
2.61
KB
-rwxr-xr-x
rdiffdir
8.91
KB
-rwxr-xr-x
rdisc6
26.38
KB
-rwsr-xr-x
rdjpgcom
14.14
KB
-rwxr-xr-x
rdma
98.52
KB
-rwxr-xr-x
rdoc
513
B
-rwxr-xr-x
rdoc3.0
513
B
-rwxr-xr-x
readelf
758.44
KB
-rwxr-xr-x
readlink
38.41
KB
-rwxr-xr-x
readmsg
35.91
KB
-rwxr-xr-x
readmsg.mailutils
35.91
KB
-rwxr-xr-x
readproctitle
13.94
KB
-rwxr-xr-x
realpath
38.41
KB
-rwxr-xr-x
recode
38.23
KB
-rwxr-xr-x
recode-sr-latin
14.38
KB
-rwxr-xr-x
recountdiff
3.37
KB
-rwxr-xr-x
red
89
B
-rwxr-xr-x
redcloth
551
B
-rwxr-xr-x
rediff
30.42
KB
-rwxr-xr-x
refer
134.52
KB
-rwxr-xr-x
reformail
58.25
KB
-rwxr-xr-x
reformime
86.27
KB
-rwxr-xr-x
reindexdb
9.21
KB
-rwxr-xr-x
renice
14.38
KB
-rwxr-xr-x
reproducible-check
7.97
KB
-rwxr-xr-x
rescan-scsi-bus.sh
38.05
KB
-rwxr-xr-x
reset
26.31
KB
-rwxr-xr-x
resizecons
26.32
KB
-rwxr-xr-x
resizepart
22.38
KB
-rwxr-xr-x
resolvectl
130.52
KB
-rwxr-xr-x
rev
14.38
KB
-rwxr-xr-x
rgb3toppm
14.02
KB
-rwxr-xr-x
rgrep
30
B
-rwxr-xr-x
ri
509
B
-rwxr-xr-x
ri3.0
509
B
-rwxr-xr-x
rimraf
1.83
KB
-rwxr-xr-x
rjoe
729.83
KB
-rwxr-xr-x
rksh
1.36
MB
-rwxr-xr-x
rksh93
1.36
MB
-rwxr-xr-x
rletopnm
42.27
KB
-rwxr-xr-x
rlog
813
B
-rwxr-xr-x
rlogin
827.04
KB
-rwxr-xr-x
rlogin-cwd
504
B
-rwxr-xr-x
rltraceroute6
34.45
KB
-rwsr-xr-x
rm
58.51
KB
-rwxr-xr-x
rmadison
12.55
KB
-rwxr-xr-x
rmail
18.3
KB
-rwxr-xr-x
rmcp_ping
14.16
KB
-rwxr-xr-x
rmdir
42.41
KB
-rwxr-xr-x
rmic
14.32
KB
-rwxr-xr-x
rmid
14.32
KB
-rwxr-xr-x
rmiregistry
14.32
KB
-rwxr-xr-x
rnano
276.52
KB
-rwxr-xr-x
roff2dvi
5.58
KB
-rwxr-xr-x
roff2html
5.58
KB
-rwxr-xr-x
roff2pdf
5.58
KB
-rwxr-xr-x
roff2ps
5.58
KB
-rwxr-xr-x
roff2text
5.58
KB
-rwxr-xr-x
roff2x
5.58
KB
-rwxr-xr-x
rotatelogs
26.38
KB
-rwxr-xr-x
routef
208
B
-rwxr-xr-x
routel
1.62
KB
-rwxr-xr-x
rpcgen
94.59
KB
-rwxr-xr-x
rpcinfo
34.48
KB
-rwxr-xr-x
rpdump
996.76
KB
-rwxr-xr-x
rpload
1008.76
KB
-rwxr-xr-x
rrdcgi
34.3
KB
-rwxr-xr-x
rrdcreate
126.58
KB
-rwxr-xr-x
rrdinfo
126.58
KB
-rwxr-xr-x
rrdtool
34.3
KB
-rwxr-xr-x
rrdupdate
126.58
KB
-rwxr-xr-x
rrsync
12.34
KB
-rwxr-xr-x
rsh
827.04
KB
-rwxr-xr-x
rst-buildhtml
10.58
KB
-rwxr-xr-x
rst2html
594
B
-rwxr-xr-x
rst2html4
714
B
-rwxr-xr-x
rst2html5
1.06
KB
-rwxr-xr-x
rst2latex
791
B
-rwxr-xr-x
rst2man
599
B
-rwxr-xr-x
rst2odt
764
B
-rwxr-xr-x
rst2odt_prepstyles
2.28
KB
-rwxr-xr-x
rst2pseudoxml
601
B
-rwxr-xr-x
rst2s5
637
B
-rwxr-xr-x
rst2xetex
871
B
-rwxr-xr-x
rst2xml
602
B
-rwxr-xr-x
rstpep2html
670
B
-rwxr-xr-x
rsync
506.13
KB
-rwxr-xr-x
rsync-ssl
5.02
KB
-rwxr-xr-x
rtin
1
MB
-rwxr-xr-x
rtstat
22.66
KB
-rwxr-xr-x
ruby
14.15
KB
-rwxr-xr-x
ruby3.0
14.15
KB
-rwxr-xr-x
run-mailcap
18.06
KB
-rwxr-xr-x
run-one
3.51
KB
-rwxr-xr-x
run-one-constantly
3.51
KB
-rwxr-xr-x
run-one-until-failure
3.51
KB
-rwxr-xr-x
run-one-until-success
3.51
KB
-rwxr-xr-x
run-parts
26.54
KB
-rwxr-xr-x
run-this-one
3.51
KB
-rwxr-xr-x
run-with-aspell
57
B
-rwxr-xr-x
runcon
34.51
KB
-rwxr-xr-x
rungs
901
B
-rwxr-xr-x
runsv
30.34
KB
-rwxr-xr-x
runsvdir
26.34
KB
-rwxr-xr-x
rushlast
75.19
KB
-rwxr-xr-x
rushwho
75.03
KB
-rwxr-xr-x
rview
3.61
MB
-rwxr-xr-x
rvim
3.61
MB
-rwxr-xr-x
rzsh
989.58
KB
-rwxr-xr-x
s3cmd
148.18
KB
-rwxr-xr-x
sadf
390.24
KB
-rwxr-xr-x
sadt
18.29
KB
-rwxr-xr-x
safecat
22.16
KB
-rwxr-xr-x
salsa
22.04
KB
-rwxr-xr-x
sar
133.45
KB
-rwxr-xr-x
sar.sysstat
133.45
KB
-rwxr-xr-x
sass
527
B
-rwxr-xr-x
sass-convert
543
B
-rwxr-xr-x
savelog
10.24
KB
-rwxr-xr-x
sbattach
26.54
KB
-rwxr-xr-x
sbigtopgm
14.12
KB
-rwxr-xr-x
sbkeysync
34.74
KB
-rwxr-xr-x
sbsiglist
14.6
KB
-rwxr-xr-x
sbsign
34.7
KB
-rwxr-xr-x
sbvarsign
22.73
KB
-rwxr-xr-x
sbverify
34.61
KB
-rwxr-xr-x
scandeps
6.45
KB
-rwxr-xr-x
schedtool
22.22
KB
-rwxr-xr-x
schemagen
14.32
KB
-rwxr-xr-x
scor2prt
80.57
KB
-rwxr-xr-x
scp
130.59
KB
-rwxr-xr-x
screen
466.24
KB
-rwxr-xr-x
screendump
14.15
KB
-rwxr-xr-x
script
50.38
KB
-rwxr-xr-x
scriptlive
42.38
KB
-rwxr-xr-x
scriptreplay
34.38
KB
-rwxr-xr-x
scsi_logging_level
8.38
KB
-rwxr-xr-x
scsi_mandat
3.52
KB
-rwxr-xr-x
scsi_readcap
1.3
KB
-rwxr-xr-x
scsi_ready
1.09
KB
-rwxr-xr-x
scsi_satl
3.74
KB
-rwxr-xr-x
scsi_start
1.25
KB
-rwxr-xr-x
scsi_stop
1.44
KB
-rwxr-xr-x
scsi_temperature
936
B
-rwxr-xr-x
scss
527
B
-rwxr-xr-x
sdiff
46.39
KB
-rwxr-xr-x
sdrcomp
65.82
KB
-rwxr-xr-x
sed
110.57
KB
-rwxr-xr-x
see
18.06
KB
-rwxr-xr-x
select-default-iwrap
474
B
-rwxr-xr-x
select-editor
2.39
KB
-rwxr-xr-x
semver
4.26
KB
-rwxr-xr-x
sensible-browser
1.26
KB
-rwxr-xr-x
sensible-editor
1.24
KB
-rwxr-xr-x
sensible-pager
565
B
-rwxr-xr-x
seq
46.51
KB
-rwxr-xr-x
serialver
14.32
KB
-rwxr-xr-x
servertool
14.32
KB
-rwxr-xr-x
setarch
26.65
KB
-rwxr-xr-x
setfacl
42.91
KB
-rwxr-xr-x
setfattr
18.59
KB
-rwxr-xr-x
setfont
50.32
KB
-rwxr-xr-x
setkeycodes
14.23
KB
-rwxr-xr-x
setleds
18.21
KB
-rwxr-xr-x
setlock
22.02
KB
-rwxr-xr-x
setlogcons
14.23
KB
-rwxr-xr-x
setmetamode
14.26
KB
-rwxr-xr-x
setpci
30.38
KB
-rwxr-xr-x
setpriv
38.38
KB
-rwxr-xr-x
setsid
14.38
KB
-rwxr-xr-x
setterm
34.38
KB
-rwxr-xr-x
setuidgid
21.99
KB
-rwxr-xr-x
setupcon
38.31
KB
-rwxr-xr-x
setxkbmap
26.7
KB
-rwxr-xr-x
sftp
142.66
KB
-rwxr-xr-x
sg
39.55
KB
-rwsr-xr-x
sg_bg_ctl
14.51
KB
-rwxr-xr-x
sg_compare_and_write
26.91
KB
-rwxr-xr-x
sg_copy_results
23.3
KB
-rwxr-xr-x
sg_dd
54.33
KB
-rwxr-xr-x
sg_decode_sense
14.76
KB
-rwxr-xr-x
sg_emc_trespass
14.3
KB
-rwxr-xr-x
sg_format
39.35
KB
-rwxr-xr-x
sg_get_config
35.39
KB
-rwxr-xr-x
sg_get_elem_status
26.79
KB
-rwxr-xr-x
sg_get_lba_status
22.95
KB
-rwxr-xr-x
sg_ident
14.6
KB
-rwxr-xr-x
sg_inq
119.61
KB
-rwxr-xr-x
sg_logs
150.93
KB
-rwxr-xr-x
sg_luns
22.79
KB
-rwxr-xr-x
sg_map
18.3
KB
-rwxr-xr-x
sg_map26
26.7
KB
-rwxr-xr-x
sg_modes
46.08
KB
-rwxr-xr-x
sg_opcodes
35.01
KB
-rwxr-xr-x
sg_persist
36.08
KB
-rwxr-xr-x
sg_prevent
14.51
KB
-rwxr-xr-x
sg_raw
26.91
KB
-rwxr-xr-x
sg_rbuf
22.73
KB
-rwxr-xr-x
sg_rdac
14.3
KB
-rwxr-xr-x
sg_read
26.31
KB
-rwxr-xr-x
sg_read_attr
36.65
KB
-rwxr-xr-x
sg_read_block_limits
14.54
KB
-rwxr-xr-x
sg_read_buffer
27.56
KB
-rwxr-xr-x
sg_read_long
14.7
KB
-rwxr-xr-x
sg_readcap
22.79
KB
-rwxr-xr-x
sg_reassign
14.66
KB
-rwxr-xr-x
sg_referrals
14.66
KB
-rwxr-xr-x
sg_rep_pip
14.57
KB
-rwxr-xr-x
sg_rep_zones
26.8
KB
-rwxr-xr-x
sg_requests
22.76
KB
-rwxr-xr-x
sg_reset
14.66
KB
-rwxr-xr-x
sg_reset_wp
14.6
KB
-rwxr-xr-x
sg_rmsn
14.51
KB
-rwxr-xr-x
sg_rtpg
14.6
KB
-rwxr-xr-x
sg_safte
22.7
KB
-rwxr-xr-x
sg_sanitize
27.01
KB
-rwxr-xr-x
sg_sat_identify
18.73
KB
-rwxr-xr-x
sg_sat_phy_event
19.01
KB
-rwxr-xr-x
sg_sat_read_gplog
18.73
KB
-rwxr-xr-x
sg_sat_set_features
18.7
KB
-rwxr-xr-x
sg_scan
18.3
KB
-rwxr-xr-x
sg_seek
18.88
KB
-rwxr-xr-x
sg_senddiag
27.2
KB
-rwxr-xr-x
sg_ses
119.97
KB
-rwxr-xr-x
sg_ses_microcode
27.36
KB
-rwxr-xr-x
sg_start
18.85
KB
-rwxr-xr-x
sg_stpg
22.73
KB
-rwxr-xr-x
sg_stream_ctl
18.7
KB
-rwxr-xr-x
sg_sync
14.66
KB
-rwxr-xr-x
sg_test_rwbuf
18.6
KB
-rwxr-xr-x
sg_timestamp
18.83
KB
-rwxr-xr-x
sg_turs
26.7
KB
-rwxr-xr-x
sg_unmap
22.76
KB
-rwxr-xr-x
sg_verify
18.91
KB
-rwxr-xr-x
sg_vpd
114.42
KB
-rwxr-xr-x
sg_wr_mode
22.73
KB
-rwxr-xr-x
sg_write_buffer
27.23
KB
-rwxr-xr-x
sg_write_long
14.76
KB
-rwxr-xr-x
sg_write_same
26.95
KB
-rwxr-xr-x
sg_write_verify
26.79
KB
-rwxr-xr-x
sg_write_x
55.6
KB
-rwxr-xr-x
sg_xcopy
42.32
KB
-rwxr-xr-x
sg_zone
14.86
KB
-rwxr-xr-x
sginfo
72.01
KB
-rwxr-xr-x
sgitopnm
18.02
KB
-rwxr-xr-x
sgm_dd
38.31
KB
-rwxr-xr-x
sgp_dd
46.31
KB
-rwxr-xr-x
sh
1.33
MB
-rwxr-xr-x
sha1sum
42.41
KB
-rwxr-xr-x
sha224sum
50.41
KB
-rwxr-xr-x
sha256sum
50.41
KB
-rwxr-xr-x
sha384sum
58.41
KB
-rwxr-xr-x
sha3sum
9.41
KB
-rwxr-xr-x
sha512sum
58.41
KB
-rwxr-xr-x
shar
137.28
KB
-rwxr-xr-x
shasum
9.75
KB
-rwxr-xr-x
shcomp
1.35
MB
-rwxr-xr-x
shcomp93
1.35
MB
-rwxr-xr-x
showconsolefont
18.23
KB
-rwxr-xr-x
showkey
18.23
KB
-rwxr-xr-x
showtable
29.66
KB
-rwxr-xr-x
shred
50.51
KB
-rwxr-xr-x
shuf
46.51
KB
-rwxr-xr-x
sieve
32.05
KB
-rwxr-xr-x
simpdftex
21.57
KB
-rwxr-xr-x
sirtopnm
14.02
KB
-rwxr-xr-x
size
30.45
KB
-rwxr-xr-x
skill
30.23
KB
-rwxr-xr-x
slabtop
22.23
KB
-rwxr-xr-x
sldtoppm
18.09
KB
-rwxr-xr-x
sleep
34.51
KB
-rwxr-xr-x
slogin
827.04
KB
-rwxr-xr-x
slrn
466.3
KB
-rwxr-xr-x
slsh
39.75
KB
-rwxr-xr-x
smime_keys
30.31
KB
-rwxr-xr-x
snice
30.23
KB
-rwxr-xr-x
snmp-bridge-mib
29.96
KB
-rwxr-xr-x
snmpbulkget
14.3
KB
-rwxr-xr-x
snmpbulkwalk
14.3
KB
-rwxr-xr-x
snmpcheck
32.91
KB
-rwxr-xr-x
snmpconf
25.44
KB
-rwxr-xr-x
snmpdelta
22.4
KB
-rwxr-xr-x
snmpdf
18.3
KB
-rwxr-xr-x
snmpget
14.3
KB
-rwxr-xr-x
snmpgetnext
14.3
KB
-rwxr-xr-x
snmpinform
14.57
KB
-rwxr-xr-x
snmpnetstat
68.29
KB
-rwxr-xr-x
snmpping
22.3
KB
-rwxr-xr-x
snmpset
14.3
KB
-rwxr-xr-x
snmpstatus
15.13
KB
-rwxr-xr-x
snmptable
26.33
KB
-rwxr-xr-x
snmptest
22.3
KB
-rwxr-xr-x
snmptls
18.3
KB
-rwxr-xr-x
snmptranslate
22.3
KB
-rwxr-xr-x
snmptrap
14.57
KB
-rwxr-xr-x
snmpusm
42.51
KB
-rwxr-xr-x
snmpvacm
31.39
KB
-rwxr-xr-x
snmpwalk
18.3
KB
-rwxr-xr-x
socat
383.62
KB
-rwxr-xr-x
socklist
3.32
KB
-rwxr-xr-x
soelim
30.48
KB
-rwxr-xr-x
softlimit
22.02
KB
-rwxr-xr-x
solterm
26.23
KB
-rwxr-xr-x
sort
98.8
KB
-rwxr-xr-x
sort-dctrl
34.64
KB
-rwxr-xr-x
sos
612
B
-rwxr-xr-x
sos-collector
1.04
KB
-rwxr-xr-x
sosreport
1.03
KB
-rwxr-xr-x
spctoppm
14.02
KB
-rwxr-xr-x
sphinx-apidoc
967
B
-rwxr-xr-x
sphinx-autogen
969
B
-rwxr-xr-x
sphinx-build
965
B
-rwxr-xr-x
sphinx-quickstart
975
B
-rwxr-xr-x
splain
18.96
KB
-rwxr-xr-x
split
50.97
KB
-rwxr-xr-x
splitdiff
3.38
KB
-rwxr-xr-x
splitfont
14.15
KB
-rwxr-xr-x
spring
539
B
-rwxr-xr-x
sprockets
2.08
KB
-rwxr-xr-x
sputoppm
14.02
KB
-rwxr-xr-x
sqlite
35.41
KB
-rwxr-xr-x
sqlite3
1.56
MB
-rwxr-xr-x
ss
125.07
KB
-rwxr-xr-x
ssh
827.04
KB
-rwxr-xr-x
ssh-add
166.42
KB
-rwxr-xr-x
ssh-agent
286.43
KB
-rwxr-sr-x
ssh-argv0
1.42
KB
-rwxr-xr-x
ssh-copy-id
12.38
KB
-rwxr-xr-x
ssh-import-id
985
B
-rwxr-xr-x
ssh-import-id-gh
785
B
-rwxr-xr-x
ssh-import-id-lp
785
B
-rwxr-xr-x
ssh-keygen
446.44
KB
-rwxr-xr-x
ssh-keyscan
190.44
KB
-rwxr-xr-x
st4topgm
14.02
KB
-rwxr-xr-x
stat
78.52
KB
-rwxr-xr-x
static-sh
2.09
MB
-rwxr-xr-x
stdbuf
42.51
KB
-rwxr-xr-x
strace
1.88
MB
-rwxr-xr-x
strace-log-merge
1.78
KB
-rwxr-xr-x
stream
14.15
KB
-rwxr-xr-x
stream-im6
14.15
KB
-rwxr-xr-x
stream-im6.q16
14.15
KB
-rwxr-xr-x
streamzip
7.75
KB
-rwxr-xr-x
strfile
18.15
KB
-rwxr-xr-x
strings
30.61
KB
-rwxr-xr-x
strip
162.57
KB
-rwxr-xr-x
stty
74.51
KB
-rwxr-xr-x
stubmaker
3.34
KB
-rwxr-xr-x
stunnel
219.96
KB
-rwxr-xr-x
stunnel3
2.72
KB
-rwxr-xr-x
stunnel4
219.96
KB
-rwxr-xr-x
su
54.38
KB
-rwsr-xr-x
sudo
226.97
KB
-rwsr-xr-x
sudoedit
226.97
KB
-rwsr-xr-x
sudoreplay
87.64
KB
-rwxr-xr-x
sum
34.41
KB
-rwxr-xr-x
supervise
26.07
KB
-rwxr-xr-x
suspicious-source
5.39
KB
-rwxr-xr-x
sv
26.38
KB
-rwxr-xr-x
svc
22.04
KB
-rwxr-xr-x
svlogd
46.38
KB
-rwxr-xr-x
svn
442.44
KB
-rwxr-xr-x
svn-backup-dumps
23.93
KB
-rwxr-xr-x
svn-bisect
4.31
KB
-rwxr-xr-x
svn-clean
6.43
KB
-rwxr-xr-x
svn-hot-backup
11.46
KB
-rwxr-xr-x
svn-mergeinfo-normalizer
82.38
KB
-rwxr-xr-x
svn-populate-node-origins-inde...
14.3
KB
-rwxr-xr-x
svn-vendor
46.9
KB
-rwxr-xr-x
svn_apply_autoprops
5.41
KB
-rwxr-xr-x
svn_load_dirs
65.8
KB
-rwxr-xr-x
svnadmin
134.38
KB
-rwxr-xr-x
svnauthz
34.38
KB
-rwxr-xr-x
svnauthz-validate
34.38
KB
-rwxr-xr-x
svnbench
74.38
KB
-rwxr-xr-x
svndiff
807
B
-rwxr-xr-x
svndiffview
814
B
-rwxr-xr-x
svndumpfilter
42.48
KB
-rwxr-xr-x
svnfsfs
42.38
KB
-rwxr-xr-x
svnlook
90.38
KB
-rwxr-xr-x
svnmucc
34.38
KB
-rwxr-xr-x
svnpath
2.4
KB
-rwxr-xr-x
svnraisetreeconflict
18.38
KB
-rwxr-xr-x
svnrdump
54.38
KB
-rwxr-xr-x
svnserve
110.44
KB
-rwxr-xr-x
svnsync
66.38
KB
-rwxr-xr-x
svnversion
14.38
KB
-rwxr-xr-x
svnwrap
894
B
-rwxr-xr-x
svok
13.98
KB
-rwxr-xr-x
svscan
21.98
KB
-rwxr-xr-x
svscanboot
743
B
-rwxr-xr-x
svstat
22.04
KB
-rwxr-xr-x
swig
1.88
MB
-rwxr-xr-x
swig4.0
1.88
MB
-rwxr-xr-x
sync
34.41
KB
-rwxr-xr-x
synctex
34.3
KB
-rwxr-xr-x
systemctl
1.06
MB
-rwxr-xr-x
systemd
1.76
MB
-rwxr-xr-x
systemd-analyze
1.73
MB
-rwxr-xr-x
systemd-ask-password
18.48
KB
-rwxr-xr-x
systemd-cat
18.38
KB
-rwxr-xr-x
systemd-cgls
22.48
KB
-rwxr-xr-x
systemd-cgtop
38.39
KB
-rwxr-xr-x
systemd-cryptenroll
50.53
KB
-rwxr-xr-x
systemd-delta
26.37
KB
-rwxr-xr-x
systemd-detect-virt
18.37
KB
-rwxr-xr-x
systemd-escape
22.37
KB
-rwxr-xr-x
systemd-hwdb
118.66
KB
-rwxr-xr-x
systemd-id128
26.37
KB
-rwxr-xr-x
systemd-inhibit
22.39
KB
-rwxr-xr-x
systemd-machine-id-setup
18.48
KB
-rwxr-xr-x
systemd-mount
50.59
KB
-rwxr-xr-x
systemd-notify
22.38
KB
-rwxr-xr-x
systemd-path
18.37
KB
-rwxr-xr-x
systemd-run
62.57
KB
-rwxr-xr-x
systemd-socket-activate
26.37
KB
-rwxr-xr-x
systemd-stdio-bridge
22.38
KB
-rwxr-xr-x
systemd-sysext
46.49
KB
-rwxr-xr-x
systemd-sysusers
62.68
KB
-rwxr-xr-x
systemd-tmpfiles
98.57
KB
-rwxr-xr-x
systemd-tty-ask-password-agent
34.37
KB
-rwxr-xr-x
systemd-umount
50.59
KB
-rwxr-xr-x
t1ascii
38.52
KB
-rwxr-xr-x
t1asm
39.55
KB
-rwxr-xr-x
t1binary
38.51
KB
-rwxr-xr-x
t1disasm
42.47
KB
-rwxr-xr-x
t1mac
46.6
KB
-rwxr-xr-x
t1unmac
38.67
KB
-rwxr-xr-x
t4ht
34.38
KB
-rwxr-xr-x
tabs
18.3
KB
-rwxr-xr-x
tac
98.41
KB
-rwxr-xr-x
tagpending
12.06
KB
-rwxr-xr-x
tai64n
14.02
KB
-rwxr-xr-x
tai64nlocal
14.08
KB
-rwxr-xr-x
tail
66.52
KB
-rwxr-xr-x
tangle
46.47
KB
-rwxr-xr-x
tapestat
26.44
KB
-rwxr-xr-x
tar
505.81
KB
-rwxr-xr-x
tasksel
26.82
KB
-rwxr-xr-x
taskset
22.38
KB
-rwxr-xr-x
tbl
126.48
KB
-rwxr-xr-x
tbl-dctrl
38.73
KB
-rwxr-xr-x
tclsh
14.15
KB
-rwxr-xr-x
tclsh8.6
14.15
KB
-rwxr-xr-x
tcpdump
1.27
MB
-rwxr-xr-x
tcpspray.ndisc6
22.38
KB
-rwxr-xr-x
tcpspray6
56
B
-rwxr-xr-x
tcptraceroute6
14.38
KB
-rwxr-xr-x
tcsh
425.4
KB
-rwxr-xr-x
tee
34.51
KB
-rwxr-xr-x
telnet
107.56
KB
-rwxr-xr-x
telnet.netkit
107.56
KB
-rwxr-xr-x
tempfile
14.02
KB
-rwxr-xr-x
test
42.44
KB
-rwxr-xr-x
tex
399.97
KB
-rwxr-xr-x
tex2aspc
18.42
KB
-rwxr-xr-x
tex4ht
102.44
KB
-rwxr-xr-x
texdoc
1.35
KB
-rwxr-xr-x
texdoctk
60.77
KB
-rwxr-xr-x
texhash
8.03
KB
-rwxr-xr-x
texlua
6.64
MB
-rwxr-xr-x
texluac
6.64
MB
-rwxr-xr-x
texluajit
6.54
MB
-rwxr-xr-x
texluajitc
6.54
MB
-rwxr-xr-x
tfmtodit
42.6
KB
-rwxr-xr-x
tftopl
38.41
KB
-rwxr-xr-x
tgatoppm
18.02
KB
-rwxr-xr-x
thinkjettopbm
22.03
KB
-rwxr-xr-x
thor
510
B
-rwxr-xr-x
tic
86.41
KB
-rwxr-xr-x
tidy
42.23
KB
-rwxr-xr-x
tie
18.3
KB
-rwxr-xr-x
tifftopnm
26.02
KB
-rwxr-xr-x
tilt
3.38
KB
-rwxr-xr-x
time
26.52
KB
-rwxr-xr-x
timed-read
306
B
-rwxr-xr-x
timed-run
280
B
-rwxr-xr-x
timedatectl
46.37
KB
-rwxr-xr-x
timeout
38.95
KB
-rwxr-xr-x
tin
1
MB
-rwxr-xr-x
tknewsbiff
11.24
KB
-rwxr-xr-x
tkpasswd
16.3
KB
-rwxr-xr-x
tl-paper
4.46
KB
-rwxr-xr-x
tlmgr
339.11
KB
-rwxr-xr-x
tload
18.24
KB
-rwxr-xr-x
tmux
948.55
KB
-rwxr-xr-x
tnameserv
14.38
KB
-rwxr-xr-x
tnftp
178.9
KB
-rwxr-xr-x
todos
18.17
KB
-rwxr-xr-x
toe
22.3
KB
-rwxr-xr-x
toilet
26.68
KB
-rwxr-xr-x
top
130.06
KB
-rwxr-xr-x
touch
90.51
KB
-rwxr-xr-x
tpage
8.86
KB
-rwxr-xr-x
tpic2pdftex
12.29
KB
-rwxr-xr-x
tput
26.34
KB
-rwxr-xr-x
tr
46.51
KB
-rwxr-xr-x
trac-admin
955
B
-rwxr-xr-x
tracd
945
B
-rwxr-xr-x
tracepath
18.15
KB
-rwxr-xr-x
traceproto
2.82
KB
-rwxr-xr-x
traceproto.db
2.82
KB
-rwxr-xr-x
traceroute
67.16
KB
-rwxr-xr-x
traceroute-nanog
1.58
KB
-rwxr-xr-x
traceroute.db
67.16
KB
-rwxr-xr-x
traceroute6
34.45
KB
-rwsr-xr-x
traceroute6.db
67.16
KB
-rwxr-xr-x
tracert6
54
B
-rwxr-xr-x
transform-fdt
1.13
KB
-rwxr-xr-x
transition-check
6.35
KB
-rwxr-xr-x
tree
79.38
KB
-rwxr-xr-x
troff
718.61
KB
-rwxr-xr-x
true
26.3
KB
-rwxr-xr-x
truncate
34.51
KB
-rwxr-xr-x
tryaffix
4.8
KB
-rwxr-xr-x
tset
26.31
KB
-rwxr-xr-x
tsort
46.51
KB
-rwxr-xr-x
ttf2afm
46.4
KB
-rwxr-xr-x
ttf2pk
88.22
KB
-rwxr-xr-x
ttf2tfm
138.38
KB
-rwxr-xr-x
ttfdump
103.5
KB
-rwxr-xr-x
ttree
38.23
KB
-rwxr-xr-x
tty
30.51
KB
-rwxr-xr-x
typeprof3.0
554
B
-rwxr-xr-x
tzselect
15.02
KB
-rwxr-xr-x
ua
1003
B
-rwxr-xr-x
ubuntu-advantage
1003
B
-rwxr-xr-x
ubuntu-bug
2.51
KB
-rwxr-xr-x
ubuntu-distro-info
22.89
KB
-rwxr-xr-x
ubuntu-security-status
22.25
KB
-rwxr-xr-x
ucf
40.9
KB
-rwxr-xr-x
ucfq
18.91
KB
-rwxr-xr-x
ucfr
10.47
KB
-rwxr-xr-x
uclampset
26.38
KB
-rwxr-xr-x
uconv
54.83
KB
-rwxr-xr-x
udevadm
1.08
MB
-rwxr-xr-x
ujconv
4.59
KB
-rwxr-xr-x
ujguess
3.59
KB
-rwxr-xr-x
ul
22.38
KB
-rwxr-xr-x
umap
6.52
KB
-rwxr-xr-x
umount
34.38
KB
-rwsr-xr-x
uname
34.51
KB
-rwxr-xr-x
unattended-upgrade
97.21
KB
-rwxr-xr-x
unattended-upgrades
97.21
KB
-rwxr-xr-x
unbuffer
643
B
-rwxr-xr-x
uncompress
2.29
KB
-rwxr-xr-x
unexpand
34.53
KB
-rwxr-xr-x
unicode_start
2.7
KB
-rwxr-xr-x
unicode_stop
530
B
-rwxr-xr-x
uniq
42.51
KB
-rwxr-xr-x
unix2dos
54.34
KB
-rwxr-xr-x
unix2mac
54.34
KB
-rwxr-xr-x
unlink
30.51
KB
-rwxr-xr-x
unlzma
82.52
KB
-rwxr-xr-x
unmkinitramfs
3.69
KB
-rwxr-xr-x
unpack200
109.12
KB
-rwxr-xr-x
unrtf
90.17
KB
-rwxr-xr-x
unshar
80.78
KB
-rwxr-xr-x
unshare
30.6
KB
-rwxr-xr-x
unstr
14.15
KB
-rwxr-xr-x
unwrapdiff
5.8
KB
-rwxr-xr-x
unxz
82.52
KB
-rwxr-xr-x
unzip
170.42
KB
-rwxr-xr-x
unzipsfx
78.42
KB
-rwxr-xr-x
unzstd
854.59
KB
-rwxr-xr-x
upbibtex
117.05
KB
-rwxr-xr-x
update-alternatives
58.24
KB
-rwxr-xr-x
update-leap
11.73
KB
-rwxr-xr-x
update-mime-database
58.23
KB
-rwxr-xr-x
update-perl-sax-parsers
6.03
KB
-rwxr-xr-x
update_rubygems
593
B
-rwxr-xr-x
updmap
86.25
KB
-rwxr-xr-x
updmap-sys
925
B
-rwxr-xr-x
updmap-user
922
B
-rwxr-xr-x
updvitomp
808.04
KB
-rwxr-xr-x
updvitype
58.43
KB
-rwxr-xr-x
upmendex
134.98
KB
-rwxr-xr-x
upmpost
808.04
KB
-rwxr-xr-x
upower
22.3
KB
-rwxr-xr-x
uppltotf
62.39
KB
-rwxr-xr-x
uptex
466.8
KB
-rwxr-xr-x
uptftopl
50.41
KB
-rwxr-xr-x
uptime
14.23
KB
-rwxr-xr-x
usb-devices
4.33
KB
-rwxr-xr-x
usbhid-dump
30.38
KB
-rwxr-xr-x
usbreset
14.3
KB
-rwxr-xr-x
uscan
74.67
KB
-rwxr-xr-x
users
34.51
KB
-rwxr-xr-x
utmpdump
22.38
KB
-rwxr-xr-x
uudecode
84.34
KB
-rwxr-xr-x
uuencode
80.34
KB
-rwxr-xr-x
uuidgen
18.38
KB
-rwxr-xr-x
uuidparse
22.38
KB
-rwxr-xr-x
uupdate
37.36
KB
-rwxr-xr-x
vacuumdb
9.21
KB
-rwxr-xr-x
vacuumlo
9.21
KB
-rwxr-xr-x
vcs-run
6.75
KB
-rwxr-xr-x
vdir
134.98
KB
-rwxr-xr-x
vector
123.5
MB
-rwxr-xr-x
vftovp
54.41
KB
-rwxr-xr-x
vi
3.61
MB
-rwxr-xr-x
view
3.61
MB
-rwxr-xr-x
viewres
31.23
KB
-rwxr-xr-x
vigpg
2.58
KB
-rwxr-xr-x
vim
3.61
MB
-rwxr-xr-x
vim.basic
3.61
MB
-rwxr-xr-x
vim.tiny
1.45
MB
-rwxr-xr-x
vimdiff
3.61
MB
-rwxr-xr-x
vimtutor
2.1
KB
-rwxr-xr-x
virtualenv
239
B
-rwxr-xr-x
vlna
18.45
KB
-rwxr-xr-x
vm-support
9.83
KB
-rwxr-xr-x
vmhgfs-fuse
46.73
KB
-rwxr-xr-x
vmstat
38.24
KB
-rwxr-xr-x
vmtoolsd
74.56
KB
-rwxr-xr-x
vmware-alias-import
42.52
KB
-rwxr-xr-x
vmware-checkvm
14.38
KB
-rwxr-xr-x
vmware-hgfsclient
14.38
KB
-rwxr-xr-x
vmware-namespace-cmd
22.3
KB
-rwxr-xr-x
vmware-rpctool
18.3
KB
-rwxr-xr-x
vmware-toolbox-cmd
58.59
KB
-rwxr-xr-x
vmware-vgauth-cmd
18.3
KB
-rwxr-xr-x
vmware-vmblock-fuse
18.78
KB
-rwxr-xr-x
vmware-xferlogs
32.33
KB
-rwxr-xr-x
vptovf
62.39
KB
-rwxr-xr-x
w
22.23
KB
-rwxr-xr-x
w3m
1.44
MB
-rwxr-xr-x
w3mman
1.24
KB
-rwxr-xr-x
wall
22.38
KB
-rwxr-xr-x
watch
26.6
KB
-rwxr-xr-x
watchgnupg
18.3
KB
-rwxr-xr-x
wbmptopbm
14.02
KB
-rwxr-xr-x
wc
42.42
KB
-rwxr-xr-x
wdctl
30.4
KB
-rwxr-xr-x
wdiff
34.23
KB
-rwxr-xr-x
weave
62.39
KB
-rwxr-xr-x
webpack
4.16
KB
-rwxr-xr-x
webpng
14.15
KB
-rwxr-xr-x
wget
459.02
KB
-rwxr-xr-x
what-patch
3.36
KB
-rwxr-xr-x
whatis
47.28
KB
-rwxr-xr-x
whereis
30.84
KB
-rwxr-xr-x
which
946
B
-rwxr-xr-x
which.debianutils
946
B
-rwxr-xr-x
whiptail
30.16
KB
-rwxr-xr-x
who
50.52
KB
-rwxr-xr-x
who-permits-upload
9.68
KB
-rwxr-xr-x
who-uploads
8.22
KB
-rwxr-xr-x
whoami
30.51
KB
-rwxr-xr-x
whodepends
1.54
KB
-rwxr-xr-x
whois
155.66
KB
-rwxr-xr-x
whowatch
50.91
KB
-rwxr-xr-x
wifi-status
2.06
KB
-rwxr-xr-x
winicontoppm
22.02
KB
-rwxr-xr-x
wkhtmltoimage
254.55
KB
-rwxr-xr-x
wkhtmltopdf
334.55
KB
-rwxr-xr-x
wnpp-alert
4.91
KB
-rwxr-xr-x
wnpp-check
3
KB
-rwxr-xr-x
wofm2opl
50.41
KB
-rwxr-xr-x
wopl2ofm
114.38
KB
-rwxr-xr-x
word-list-compress
14.3
KB
-rwxr-xr-x
wovf2ovp
66.41
KB
-rwxr-xr-x
wovp2ovf
130.39
KB
-rwxr-xr-x
wp
1.6
KB
-rwxr-xr-x
wrap-and-sort
11.5
KB
-rwxr-xr-x
write
22.38
KB
-rwxr-xr-x
write.ul
22.38
KB
-rwxr-xr-x
wrjpgcom
14.14
KB
-rwxr-xr-x
wsgen
14.32
KB
-rwxr-xr-x
wsimport
14.32
KB
-rwxr-xr-x
www-browser
2.22
MB
-rwxr-xr-x
x86_64
26.65
KB
-rwxr-xr-x
x86_64-linux-gnu-addr2line
26.7
KB
-rwxr-xr-x
x86_64-linux-gnu-ar
54.48
KB
-rwxr-xr-x
x86_64-linux-gnu-as
456.4
KB
-rwxr-xr-x
x86_64-linux-gnu-c++filt
22.27
KB
-rwxr-xr-x
x86_64-linux-gnu-cpp
906.82
KB
-rwxr-xr-x
x86_64-linux-gnu-cpp-11
906.82
KB
-rwxr-xr-x
x86_64-linux-gnu-cpp-12
1.32
MB
-rwxr-xr-x
x86_64-linux-gnu-dwp
1.82
MB
-rwxr-xr-x
x86_64-linux-gnu-elfedit
34.72
KB
-rwxr-xr-x
x86_64-linux-gnu-g++
910.82
KB
-rwxr-xr-x
x86_64-linux-gnu-g++-11
910.82
KB
-rwxr-xr-x
x86_64-linux-gnu-gcc
906.82
KB
-rwxr-xr-x
x86_64-linux-gnu-gcc-11
906.82
KB
-rwxr-xr-x
x86_64-linux-gnu-gcc-12
1.32
MB
-rwxr-xr-x
x86_64-linux-gnu-gcc-ar
26.54
KB
-rwxr-xr-x
x86_64-linux-gnu-gcc-ar-11
26.54
KB
-rwxr-xr-x
x86_64-linux-gnu-gcc-ar-12
34.63
KB
-rwxr-xr-x
x86_64-linux-gnu-gcc-nm
26.54
KB
-rwxr-xr-x
x86_64-linux-gnu-gcc-nm-11
26.54
KB
-rwxr-xr-x
x86_64-linux-gnu-gcc-nm-12
34.63
KB
-rwxr-xr-x
x86_64-linux-gnu-gcc-ranlib
26.54
KB
-rwxr-xr-x
x86_64-linux-gnu-gcc-ranlib-11
26.54
KB
-rwxr-xr-x
x86_64-linux-gnu-gcc-ranlib-12
34.63
KB
-rwxr-xr-x
x86_64-linux-gnu-gcov
400.01
KB
-rwxr-xr-x
x86_64-linux-gnu-gcov-11
400.01
KB
-rwxr-xr-x
x86_64-linux-gnu-gcov-12
736.26
KB
-rwxr-xr-x
x86_64-linux-gnu-gcov-dump
251.84
KB
-rwxr-xr-x
x86_64-linux-gnu-gcov-dump-11
251.84
KB
-rwxr-xr-x
x86_64-linux-gnu-gcov-dump-12
576.13
KB
-rwxr-xr-x
x86_64-linux-gnu-gcov-tool
275.93
KB
-rwxr-xr-x
x86_64-linux-gnu-gcov-tool-11
275.93
KB
-rwxr-xr-x
x86_64-linux-gnu-gcov-tool-12
600.22
KB
-rwxr-xr-x
x86_64-linux-gnu-gold
3.04
MB
-rwxr-xr-x
x86_64-linux-gnu-gprof
111.79
KB
-rwxr-xr-x
x86_64-linux-gnu-ld
1.66
MB
-rwxr-xr-x
x86_64-linux-gnu-ld.bfd
1.66
MB
-rwxr-xr-x
x86_64-linux-gnu-ld.gold
3.04
MB
-rwxr-xr-x
x86_64-linux-gnu-lto-dump-11
23.73
MB
-rwxr-xr-x
x86_64-linux-gnu-lto-dump-12
31.05
MB
-rwxr-xr-x
x86_64-linux-gnu-nm
43.63
KB
-rwxr-xr-x
x86_64-linux-gnu-objcopy
162.54
KB
-rwxr-xr-x
x86_64-linux-gnu-objdump
365.13
KB
-rwxr-xr-x
x86_64-linux-gnu-pkg-config
2.18
KB
-rwxr-xr-x
x86_64-linux-gnu-python3-confi...
3.05
KB
-rwxr-xr-x
x86_64-linux-gnu-python3.10-co...
3.05
KB
-rwxr-xr-x
x86_64-linux-gnu-ranlib
54.48
KB
-rwxr-xr-x
x86_64-linux-gnu-readelf
758.44
KB
-rwxr-xr-x
x86_64-linux-gnu-size
30.45
KB
-rwxr-xr-x
x86_64-linux-gnu-strings
30.61
KB
-rwxr-xr-x
x86_64-linux-gnu-strip
162.57
KB
-rwxr-xr-x
x86_64-pc-linux-gnu-pkg-config
50.28
KB
-rwxr-xr-x
xargs
62.41
KB
-rwxr-xr-x
xauth
54.96
KB
-rwxr-xr-x
xbmtopbm
14.02
KB
-rwxr-xr-x
xdg-desktop-icon
20.16
KB
-rwxr-xr-x
xdg-desktop-menu
42.27
KB
-rwxr-xr-x
xdg-email
26.3
KB
-rwxr-xr-x
xdg-icon-resource
29.33
KB
-rwxr-xr-x
xdg-mime
41.14
KB
-rwxr-xr-x
xdg-open
25.46
KB
-rwxr-xr-x
xdg-screensaver
37.11
KB
-rwxr-xr-x
xdg-settings
37.52
KB
-rwxr-xr-x
xdg-user-dir
234
B
-rwxr-xr-x
xdg-user-dirs-update
26.23
KB
-rwxr-xr-x
xdpyinfo
39.05
KB
-rwxr-xr-x
xdriinfo
14.3
KB
-rwxr-xr-x
xdvi
2.96
KB
-rwxr-xr-x
xdvi-xaw
749.48
KB
-rwxr-xr-x
xdvi.bin
749.48
KB
-rwxr-xr-x
xdvipdfmx
835.77
KB
-rwxr-xr-x
xetex
708.38
KB
-rwxr-xr-x
xev
34.63
KB
-rwxr-xr-x
xfd
40.01
KB
-rwxr-xr-x
xfontsel
43.85
KB
-rwxr-xr-x
xgettext
297.01
KB
-rwxr-xr-x
xgettext.pl
6.41
KB
-rwxr-xr-x
ximtoppm
14.02
KB
-rwxr-xr-x
xjc
14.32
KB
-rwxr-xr-x
xkbbell
14.32
KB
-rwxr-xr-x
xkbcomp
212.1
KB
-rwxr-xr-x
xkbevd
42.38
KB
-rwxr-xr-x
xkbprint
90.34
KB
-rwxr-xr-x
xkbvleds
23.1
KB
-rwxr-xr-x
xkbwatch
23.16
KB
-rwxr-xr-x
xkibitz
4.75
KB
-rwxr-xr-x
xkill
14.3
KB
-rwxr-xr-x
xlsatoms
14.3
KB
-rwxr-xr-x
xlsclients
18.31
KB
-rwxr-xr-x
xlsfonts
26.4
KB
-rwxr-xr-x
xmessage
23.12
KB
-rwxr-xr-x
xml2-config
1.4
KB
-rwxr-xr-x
xml2pmx
126.4
KB
-rwxr-xr-x
xpath
4.74
KB
-rwxr-xr-x
xpmtoppm
18.08
KB
-rwxr-xr-x
xprop
48.61
KB
-rwxr-xr-x
xpstat
6.59
KB
-rwxr-xr-x
xslt-config
2.1
KB
-rwxr-xr-x
xsltproc
30.15
KB
-rwxr-xr-x
xsubpp
5.05
KB
-rwxr-xr-x
xtotroff
90.44
KB
-rwxr-xr-x
xvinfo
18.3
KB
-rwxr-xr-x
xvminitoppm
14.02
KB
-rwxr-xr-x
xwdtopnm
22.02
KB
-rwxr-xr-x
xwininfo
50.38
KB
-rwxr-xr-x
xxd
18.28
KB
-rwxr-xr-x
xz
82.52
KB
-rwxr-xr-x
xzcat
82.52
KB
-rwxr-xr-x
xzcmp
6.86
KB
-rwxr-xr-x
xzdiff
6.86
KB
-rwxr-xr-x
xzegrep
5.87
KB
-rwxr-xr-x
xzfgrep
5.87
KB
-rwxr-xr-x
xzgrep
5.87
KB
-rwxr-xr-x
xzless
1.76
KB
-rwxr-xr-x
xzmore
2.11
KB
-rwxr-xr-x
y2racc
7.35
KB
-rwxr-xr-x
yacc
4.12
KB
-rwxr-xr-x
yahooquote
2.13
KB
-rwxr-xr-x
ybmtopbm
14.02
KB
-rwxr-xr-x
yes
30.38
KB
-rwxr-xr-x
ypdomainname
22.23
KB
-rwxr-xr-x
yuvsplittoppm
14.02
KB
-rwxr-xr-x
yuvtoppm
14.02
KB
-rwxr-xr-x
zabbix_get
171.84
KB
-rwxr-xr-x
zabbix_sender
329.63
KB
-rwxr-xr-x
zcat
1.94
KB
-rwxr-xr-x
zcmp
1.64
KB
-rwxr-xr-x
zdiff
5.76
KB
-rwxr-xr-x
zdump
26.21
KB
-rwxr-xr-x
zegrep
29
B
-rwxr-xr-x
zeisstopnm
14.02
KB
-rwxr-xr-x
zfgrep
29
B
-rwxr-xr-x
zforce
2.03
KB
-rwxr-xr-x
zgrep
7.91
KB
-rwxr-xr-x
zip
198.99
KB
-rwxr-xr-x
zipcloak
70.4
KB
-rwxr-xr-x
zipdetails
58.66
KB
-rwxr-xr-x
zipgrep
2.89
KB
-rwxr-xr-x
zipinfo
170.42
KB
-rwxr-xr-x
zipnote
62.4
KB
-rwxr-xr-x
zipsplit
58.4
KB
-rwxr-xr-x
zless
2.15
KB
-rwxr-xr-x
zmore
1.8
KB
-rwxr-xr-x
znew
4.47
KB
-rwxr-xr-x
zsh
989.58
KB
-rwxr-xr-x
zsh5
852
B
-rwxr-xr-x
zstd
854.59
KB
-rwxr-xr-x
zstdcat
854.59
KB
-rwxr-xr-x
zstdgrep
3.78
KB
-rwxr-xr-x
zstdless
30
B
-rwxr-xr-x
zstdmt
854.59
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : s3cmd
#!/usr/bin/python3 # -*- coding: utf-8 -*- ## -------------------------------------------------------------------- ## s3cmd - S3 client ## ## Authors : Michal Ludvig and contributors ## Copyright : TGRMN Software - http://www.tgrmn.com - and contributors ## Website : http://s3tools.org ## License : GPL Version 2 ## -------------------------------------------------------------------- ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## -------------------------------------------------------------------- from __future__ import absolute_import, print_function, division import sys if sys.version_info < (2, 6): sys.stderr.write(u"ERROR: Python 2.6 or higher required, sorry.\n") # 72 == EX_OSFILE sys.exit(72) PY3 = (sys.version_info >= (3, 0)) import codecs import errno import glob import io import locale import logging import os import re import shutil import socket import subprocess import tempfile import time import traceback from copy import copy from optparse import OptionParser, Option, OptionValueError, IndentedHelpFormatter from logging import debug, info, warning, error try: import htmlentitydefs except Exception: # python 3 support import html.entities as htmlentitydefs try: unicode except NameError: # python 3 support # In python 3, unicode -> str, and str -> bytes unicode = str try: unichr except NameError: # python 3 support # In python 3, unichr was removed as chr can now do the job unichr = chr try: from shutil import which except ImportError: # python2 fallback code from distutils.spawn import find_executable as which def output(message): sys.stdout.write(message + "\n") sys.stdout.flush() def check_args_type(args, type, verbose_type): """NOTE: This function looks like to not be used.""" for arg in args: if S3Uri(arg).type != type: raise ParameterError("Expecting %s instead of '%s'" % (verbose_type, arg)) def cmd_du(args): s3 = S3(Config()) if len(args) > 0: uri = S3Uri(args[0]) if uri.type == "s3" and uri.has_bucket(): subcmd_bucket_usage(s3, uri) return EX_OK subcmd_bucket_usage_all(s3) return EX_OK def subcmd_bucket_usage_all(s3): """ Returns: sum of bucket sizes as integer Raises: S3Error """ cfg = Config() response = s3.list_all_buckets() buckets_size = 0 for bucket in response["list"]: size = subcmd_bucket_usage(s3, S3Uri("s3://" + bucket["Name"])) if size != None: buckets_size += size total_size, size_coeff = formatSize(buckets_size, cfg.human_readable_sizes) total_size_str = str(total_size) + size_coeff output(u"".rjust(12, "-")) output(u"%s Total" % (total_size_str.ljust(12))) return size def subcmd_bucket_usage(s3, uri): """ Returns: bucket size as integer Raises: S3Error """ bucket_size = 0 object_count = 0 extra_info = u'' bucket = uri.bucket() prefix = uri.object() try: for _, _, objects in s3.bucket_list_streaming(bucket, prefix=prefix, recursive=True): for obj in objects: bucket_size += int(obj["Size"]) object_count += 1 except S3Error as e: if e.info["Code"] in S3.codes: error(S3.codes[e.info["Code"]] % bucket) raise except KeyboardInterrupt as e: extra_info = u' [interrupted]' total_size_str = u"%d%s" % formatSize(bucket_size, Config().human_readable_sizes) if Config().human_readable_sizes: total_size_str = total_size_str.rjust(5) else: total_size_str = total_size_str.rjust(12) output(u"%s %7s objects %s%s" % (total_size_str, object_count, uri, extra_info)) return bucket_size def cmd_ls(args): cfg = Config() s3 = S3(cfg) if len(args) > 0: uri = S3Uri(args[0]) if uri.type == "s3" and uri.has_bucket(): subcmd_bucket_list(s3, uri, cfg.limit) return EX_OK # If not a s3 type uri or no bucket was provided, list all the buckets subcmd_all_buckets_list(s3) return EX_OK def subcmd_all_buckets_list(s3): response = s3.list_all_buckets() for bucket in sorted(response["list"], key=lambda b:b["Name"]): output(u"%s s3://%s" % (formatDateTime(bucket["CreationDate"]), bucket["Name"])) def cmd_all_buckets_list_all_content(args): cfg = Config() s3 = S3(cfg) response = s3.list_all_buckets() for bucket in response["list"]: subcmd_bucket_list(s3, S3Uri("s3://" + bucket["Name"]), cfg.limit) output(u"") return EX_OK def subcmd_bucket_list(s3, uri, limit): cfg = Config() bucket = uri.bucket() prefix = uri.object() debug(u"Bucket 's3://%s':" % bucket) if prefix.endswith('*'): prefix = prefix[:-1] try: response = s3.bucket_list(bucket, prefix = prefix, limit = limit) except S3Error as e: if e.info["Code"] in S3.codes: error(S3.codes[e.info["Code"]] % bucket) raise # md5 are 32 char long, but for multipart there could be a suffix if Config().human_readable_sizes: # %(size)5s%(coeff)1s format_size = u"%5d%1s" dir_str = u"DIR".rjust(6) else: format_size = u"%12d%s" dir_str = u"DIR".rjust(12) if cfg.long_listing: format_string = u"%(timestamp)16s %(size)s %(md5)-35s %(storageclass)-11s %(uri)s" elif cfg.list_md5: format_string = u"%(timestamp)16s %(size)s %(md5)-35s %(uri)s" else: format_string = u"%(timestamp)16s %(size)s %(uri)s" for prefix in response['common_prefixes']: output(format_string % { "timestamp": "", "size": dir_str, "md5": "", "storageclass": "", "uri": uri.compose_uri(bucket, prefix["Prefix"])}) for object in response["list"]: md5 = object.get('ETag', '').strip('"\'') storageclass = object.get('StorageClass','') if cfg.list_md5: if '-' in md5: # need to get md5 from the object object_uri = uri.compose_uri(bucket, object["Key"]) info_response = s3.object_info(S3Uri(object_uri)) try: md5 = info_response['s3cmd-attrs']['md5'] except KeyError: pass size_and_coeff = formatSize(object["Size"], Config().human_readable_sizes) output(format_string % { "timestamp": formatDateTime(object["LastModified"]), "size" : format_size % size_and_coeff, "md5" : md5, "storageclass" : storageclass, "uri": uri.compose_uri(bucket, object["Key"]), }) if response["truncated"]: warning(u"The list is truncated because the settings limit was reached.") def cmd_bucket_create(args): cfg = Config() s3 = S3(cfg) for arg in args: uri = S3Uri(arg) if not uri.type == "s3" or not uri.has_bucket() or uri.has_object(): raise ParameterError("Expecting S3 URI with just the bucket name set instead of '%s'" % arg) try: response = s3.bucket_create(uri.bucket(), cfg.bucket_location, cfg.extra_headers) output(u"Bucket '%s' created" % uri.uri()) except S3Error as e: if e.info["Code"] in S3.codes: error(S3.codes[e.info["Code"]] % uri.bucket()) raise return EX_OK def cmd_website_info(args): cfg = Config() s3 = S3(cfg) for arg in args: uri = S3Uri(arg) if not uri.type == "s3" or not uri.has_bucket() or uri.has_object(): raise ParameterError("Expecting S3 URI with just the bucket name set instead of '%s'" % arg) try: response = s3.website_info(uri, cfg.bucket_location) if response: output(u"Bucket %s: Website configuration" % uri.uri()) output(u"Website endpoint: %s" % response['website_endpoint']) output(u"Index document: %s" % response['index_document']) output(u"Error document: %s" % response['error_document']) else: output(u"Bucket %s: Unable to receive website configuration." % (uri.uri())) except S3Error as e: if e.info["Code"] in S3.codes: error(S3.codes[e.info["Code"]] % uri.bucket()) raise return EX_OK def cmd_website_create(args): cfg = Config() s3 = S3(cfg) for arg in args: uri = S3Uri(arg) if not uri.type == "s3" or not uri.has_bucket() or uri.has_object(): raise ParameterError("Expecting S3 URI with just the bucket name set instead of '%s'" % arg) try: response = s3.website_create(uri, cfg.bucket_location) output(u"Bucket '%s': website configuration created." % (uri.uri())) except S3Error as e: if e.info["Code"] in S3.codes: error(S3.codes[e.info["Code"]] % uri.bucket()) raise return EX_OK def cmd_website_delete(args): cfg = Config() s3 = S3(cfg) for arg in args: uri = S3Uri(arg) if not uri.type == "s3" or not uri.has_bucket() or uri.has_object(): raise ParameterError("Expecting S3 URI with just the bucket name set instead of '%s'" % arg) try: response = s3.website_delete(uri, cfg.bucket_location) output(u"Bucket '%s': website configuration deleted." % (uri.uri())) except S3Error as e: if e.info["Code"] in S3.codes: error(S3.codes[e.info["Code"]] % uri.bucket()) raise return EX_OK def cmd_expiration_set(args): cfg = Config() s3 = S3(cfg) for arg in args: uri = S3Uri(arg) if not uri.type == "s3" or not uri.has_bucket() or uri.has_object(): raise ParameterError("Expecting S3 URI with just the bucket name set instead of '%s'" % arg) try: response = s3.expiration_set(uri, cfg.bucket_location) if response["status"] == 200: output(u"Bucket '%s': expiration configuration is set." % (uri.uri())) elif response["status"] == 204: output(u"Bucket '%s': expiration configuration is deleted." % (uri.uri())) except S3Error as e: if e.info["Code"] in S3.codes: error(S3.codes[e.info["Code"]] % uri.bucket()) raise return EX_OK def cmd_bucket_delete(args): cfg = Config() s3 = S3(cfg) def _bucket_delete_one(uri, retry=True): try: response = s3.bucket_delete(uri.bucket()) output(u"Bucket '%s' removed" % uri.uri()) except S3Error as e: if e.info['Code'] == 'NoSuchBucket': if cfg.force: return EX_OK else: raise if e.info['Code'] == 'BucketNotEmpty' and retry and (cfg.force or cfg.recursive): warning(u"Bucket is not empty. Removing all the objects from it first. This may take some time...") rc = subcmd_batch_del(uri_str = uri.uri()) if rc == EX_OK: return _bucket_delete_one(uri, False) else: output(u"Bucket was not removed") elif e.info["Code"] in S3.codes: error(S3.codes[e.info["Code"]] % uri.bucket()) raise return EX_OK for arg in args: uri = S3Uri(arg) if not uri.type == "s3" or not uri.has_bucket() or uri.has_object(): raise ParameterError("Expecting S3 URI with just the bucket name set instead of '%s'" % arg) rc = _bucket_delete_one(uri) if rc != EX_OK: return rc return EX_OK def cmd_object_put(args): cfg = Config() s3 = S3(cfg) if len(args) == 0: raise ParameterError("Nothing to upload. Expecting a local file or directory and a S3 URI destination.") ## Normalize URI to convert s3://bkt to s3://bkt/ (trailing slash) destination_base_uri = S3Uri(args.pop()) if destination_base_uri.type != 's3': raise ParameterError("Destination must be S3Uri. Got: %s" % destination_base_uri) destination_base = destination_base_uri.uri() if len(args) == 0: raise ParameterError("Nothing to upload. Expecting a local file or directory.") local_list, single_file_local, exclude_list, total_size_local = fetch_local_list(args, is_src = True) local_count = len(local_list) info(u"Summary: %d local files to upload" % local_count) if local_count == 0: raise ParameterError("Nothing to upload.") if local_count > 0: if not single_file_local and '-' in local_list.keys(): raise ParameterError("Cannot specify multiple local files if uploading from '-' (ie stdin)") elif single_file_local and local_list.keys()[0] == "-" and destination_base.endswith("/"): raise ParameterError("Destination S3 URI must not end with '/' when uploading from stdin.") elif not destination_base.endswith("/"): if not single_file_local: raise ParameterError("Destination S3 URI must end with '/' (ie must refer to a directory on the remote side).") local_list[local_list.keys()[0]]['remote_uri'] = destination_base else: for key in local_list: local_list[key]['remote_uri'] = destination_base + key if cfg.dry_run: for key in exclude_list: output(u"exclude: %s" % key) for key in local_list: if key != "-": nicekey = local_list[key]['full_name'] else: nicekey = "<stdin>" output(u"upload: '%s' -> '%s'" % (nicekey, local_list[key]['remote_uri'])) warning(u"Exiting now because of --dry-run") return EX_OK seq = 0 ret = EX_OK for key in local_list: seq += 1 uri_final = S3Uri(local_list[key]['remote_uri']) try: src_md5 = local_list.get_md5(key) except IOError: src_md5 = None extra_headers = copy(cfg.extra_headers) full_name_orig = local_list[key]['full_name'] full_name = full_name_orig seq_label = "[%d of %d]" % (seq, local_count) if Config().encrypt: gpg_exitcode, full_name, extra_headers["x-amz-meta-s3tools-gpgenc"] = gpg_encrypt(full_name_orig) attr_header = _build_attr_header(local_list[key], key, src_md5) debug(u"attr_header: %s" % attr_header) extra_headers.update(attr_header) try: response = s3.object_put(full_name, uri_final, extra_headers, extra_label = seq_label) except S3UploadError as exc: error(u"Upload of '%s' failed too many times (Last reason: %s)" % (full_name_orig, exc)) if cfg.stop_on_error: ret = EX_DATAERR error(u"Exiting now because of --stop-on-error") break ret = EX_PARTIAL continue except InvalidFileError as exc: error(u"Upload of '%s' is not possible (Reason: %s)" % (full_name_orig, exc)) ret = EX_PARTIAL if cfg.stop_on_error: ret = EX_OSFILE error(u"Exiting now because of --stop-on-error") break continue if response is not None: speed_fmt = formatSize(response["speed"], human_readable = True, floating_point = True) if not Config().progress_meter: if full_name_orig != "-": nicekey = full_name_orig else: nicekey = "<stdin>" output(u"upload: '%s' -> '%s' (%d bytes in %0.1f seconds, %0.2f %sB/s) %s" % (nicekey, uri_final, response["size"], response["elapsed"], speed_fmt[0], speed_fmt[1], seq_label)) if Config().acl_public: output(u"Public URL of the object is: %s" % (uri_final.public_url())) if Config().encrypt and full_name != full_name_orig: debug(u"Removing temporary encrypted file: %s" % full_name) os.remove(deunicodise(full_name)) return ret def cmd_object_get(args): cfg = Config() s3 = S3(cfg) ## Check arguments: ## if not --recursive: ## - first N arguments must be S3Uri ## - if the last one is S3 make current dir the destination_base ## - if the last one is a directory: ## - take all 'basenames' of the remote objects and ## make the destination name be 'destination_base'+'basename' ## - if the last one is a file or not existing: ## - if the number of sources (N, above) == 1 treat it ## as a filename and save the object there. ## - if there's more sources -> Error ## if --recursive: ## - first N arguments must be S3Uri ## - for each Uri get a list of remote objects with that Uri as a prefix ## - apply exclude/include rules ## - each list item will have MD5sum, Timestamp and pointer to S3Uri ## used as a prefix. ## - the last arg may be '-' (stdout) ## - the last arg may be a local directory - destination_base ## - if the last one is S3 make current dir the destination_base ## - if the last one doesn't exist check remote list: ## - if there is only one item and its_prefix==its_name ## download that item to the name given in last arg. ## - if there are more remote items use the last arg as a destination_base ## and try to create the directory (incl. all parents). ## ## In both cases we end up with a list mapping remote object names (keys) to local file names. ## Each item will be a dict with the following attributes # {'remote_uri', 'local_filename'} download_list = [] if len(args) == 0: raise ParameterError("Nothing to download. Expecting S3 URI.") if S3Uri(args[-1]).type == 'file': destination_base = args.pop() else: destination_base = "." if len(args) == 0: raise ParameterError("Nothing to download. Expecting S3 URI.") remote_list, exclude_list, remote_total_size = fetch_remote_list(args, require_attribs = False) remote_count = len(remote_list) info(u"Summary: %d remote files to download" % remote_count) if remote_count > 0: if destination_base == "-": ## stdout is ok for multiple remote files! for key in remote_list: remote_list[key]['local_filename'] = "-" elif not os.path.isdir(deunicodise(destination_base)): ## We were either given a file name (existing or not) if remote_count > 1: raise ParameterError("Destination must be a directory or stdout when downloading multiple sources.") remote_list[remote_list.keys()[0]]['local_filename'] = destination_base else: if destination_base[-1] != os.path.sep: destination_base += os.path.sep for key in remote_list: local_filename = destination_base + key if os.path.sep != "/": local_filename = os.path.sep.join(local_filename.split("/")) remote_list[key]['local_filename'] = local_filename if cfg.dry_run: for key in exclude_list: output(u"exclude: %s" % key) for key in remote_list: output(u"download: '%s' -> '%s'" % (remote_list[key]['object_uri_str'], remote_list[key]['local_filename'])) warning(u"Exiting now because of --dry-run") return EX_OK seq = 0 ret = EX_OK for key in remote_list: seq += 1 item = remote_list[key] uri = S3Uri(item['object_uri_str']) ## Encode / Decode destination with "replace" to make sure it's compatible with current encoding destination = unicodise_safe(item['local_filename']) seq_label = "[%d of %d]" % (seq, remote_count) start_position = 0 if destination == "-": ## stdout dst_stream = io.open(sys.__stdout__.fileno(), mode='wb', closefd=False) dst_stream.stream_name = u'<stdout>' file_exists = True else: ## File try: file_exists = os.path.exists(deunicodise(destination)) try: dst_stream = io.open(deunicodise(destination), mode='ab') dst_stream.stream_name = destination except IOError as e: if e.errno == errno.ENOENT: basename = destination[:destination.rindex(os.path.sep)] info(u"Creating directory: %s" % basename) os.makedirs(deunicodise(basename)) dst_stream = io.open(deunicodise(destination), mode='ab') dst_stream.stream_name = destination else: raise if file_exists: if Config().get_continue: start_position = dst_stream.tell() elif Config().force: start_position = 0 dst_stream.seek(0) dst_stream.truncate() elif Config().skip_existing: info(u"Skipping over existing file: %s" % (destination)) continue else: dst_stream.close() raise ParameterError(u"File %s already exists. Use either of --force / --continue / --skip-existing or give it a new name." % destination) except IOError as e: error(u"Creation of file '%s' failed (Reason: %s)" % (destination, e.strerror)) if cfg.stop_on_error: error(u"Exiting now because of --stop-on-error") raise ret = EX_PARTIAL continue try: try: response = s3.object_get(uri, dst_stream, destination, start_position = start_position, extra_label = seq_label) finally: dst_stream.close() except S3DownloadError as e: error(u"Download of '%s' failed (Reason: %s)" % (destination, e)) # Delete, only if file didn't exist before! if not file_exists: debug(u"object_get failed for '%s', deleting..." % (destination,)) os.unlink(deunicodise(destination)) if cfg.stop_on_error: error(u"Exiting now because of --stop-on-error") raise ret = EX_PARTIAL continue except S3Error as e: error(u"Download of '%s' failed (Reason: %s)" % (destination, e)) if not file_exists: # Delete, only if file didn't exist before! debug(u"object_get failed for '%s', deleting..." % (destination,)) os.unlink(deunicodise(destination)) raise if "x-amz-meta-s3tools-gpgenc" in response["headers"]: gpg_decrypt(destination, response["headers"]["x-amz-meta-s3tools-gpgenc"]) response["size"] = os.stat(deunicodise(destination))[6] if "last-modified" in response["headers"] and destination != "-": last_modified = time.mktime(time.strptime(response["headers"]["last-modified"], "%a, %d %b %Y %H:%M:%S GMT")) os.utime(deunicodise(destination), (last_modified, last_modified)) debug("set mtime to %s" % last_modified) if not Config().progress_meter and destination != "-": speed_fmt = formatSize(response["speed"], human_readable = True, floating_point = True) output(u"download: '%s' -> '%s' (%d bytes in %0.1f seconds, %0.2f %sB/s)" % (uri, destination, response["size"], response["elapsed"], speed_fmt[0], speed_fmt[1])) if Config().delete_after_fetch: s3.object_delete(uri) output(u"File '%s' removed after fetch" % (uri)) return ret def cmd_object_del(args): cfg = Config() recursive = cfg.recursive for uri_str in args: uri = S3Uri(uri_str) if uri.type != "s3": raise ParameterError("Expecting S3 URI instead of '%s'" % uri_str) if not uri.has_object(): if recursive and not cfg.force: raise ParameterError("Please use --force to delete ALL contents of %s" % uri_str) elif not recursive: raise ParameterError("File name required, not only the bucket name. Alternatively use --recursive") if not recursive: rc = subcmd_object_del_uri(uri_str) elif cfg.exclude or cfg.include or cfg.max_delete > 0: # subcmd_batch_del_iterative does not support file exclusion and can't # accurately know how many total files will be deleted, so revert to batch delete. rc = subcmd_batch_del(uri_str = uri_str) else: rc = subcmd_batch_del_iterative(uri_str = uri_str) if not rc: return rc return EX_OK def subcmd_batch_del_iterative(uri_str = None, bucket = None): """ Streaming version of batch deletion (doesn't realize whole list in memory before deleting). Differences from subcmd_batch_del: - Does not obey --exclude directives or obey cfg.max_delete (use subcmd_batch_del in those cases) """ if bucket and uri_str: raise ValueError("Pass only one of uri_str or bucket") if bucket: # bucket specified uri_str = "s3://%s" % bucket cfg = Config() s3 = S3(cfg) uri = S3Uri(uri_str) bucket = uri.bucket() deleted_bytes = deleted_count = 0 for _, _, to_delete in s3.bucket_list_streaming(bucket, prefix=uri.object(), recursive=True): if not to_delete: continue if not cfg.dry_run: response = s3.object_batch_delete_uri_strs([uri.compose_uri(bucket, item['Key']) for item in to_delete]) deleted_bytes += sum(int(item["Size"]) for item in to_delete) deleted_count += len(to_delete) output(u'\n'.join(u"delete: '%s'" % uri.compose_uri(bucket, p['Key']) for p in to_delete)) if deleted_count: # display summary data of deleted files if cfg.stats: stats_info = StatsInfo() stats_info.files_deleted = deleted_count stats_info.size_deleted = deleted_bytes output(stats_info.format_output()) else: total_size, size_coeff = formatSize(deleted_bytes, Config().human_readable_sizes) total_size_str = str(total_size) + size_coeff info(u"Deleted %s objects (%s) from %s" % (deleted_count, total_size_str, uri)) else: warning(u"Remote list is empty.") return EX_OK def subcmd_batch_del(uri_str = None, bucket = None, remote_list = None): """ Returns: EX_OK Raises: ValueError """ cfg = Config() s3 = S3(cfg) def _batch_del(remote_list): to_delete = remote_list[:1000] remote_list = remote_list[1000:] while len(to_delete): debug(u"Batch delete %d, remaining %d" % (len(to_delete), len(remote_list))) if not cfg.dry_run: response = s3.object_batch_delete(to_delete) output(u'\n'.join((u"delete: '%s'" % to_delete[p]['object_uri_str']) for p in to_delete)) to_delete = remote_list[:1000] remote_list = remote_list[1000:] if remote_list is not None and len(remote_list) == 0: return False if len([item for item in [uri_str, bucket, remote_list] if item]) != 1: raise ValueError("One and only one of 'uri_str', 'bucket', 'remote_list' can be specified.") if bucket: # bucket specified uri_str = "s3://%s" % bucket if remote_list is None: # uri_str specified remote_list, exclude_list, remote_total_size = fetch_remote_list(uri_str, require_attribs = False) if len(remote_list) == 0: warning(u"Remote list is empty.") return EX_OK if cfg.max_delete > 0 and len(remote_list) > cfg.max_delete: warning(u"delete: maximum requested number of deletes would be exceeded, none performed.") return EX_OK _batch_del(remote_list) if cfg.dry_run: warning(u"Exiting now because of --dry-run") return EX_OK def subcmd_object_del_uri(uri_str, recursive = None): """ Returns: True if XXX, False if XXX Raises: ValueError """ cfg = Config() s3 = S3(cfg) if recursive is None: recursive = cfg.recursive remote_list, exclude_list, remote_total_size = fetch_remote_list(uri_str, require_attribs = False, recursive = recursive) remote_count = len(remote_list) info(u"Summary: %d remote files to delete" % remote_count) if cfg.max_delete > 0 and remote_count > cfg.max_delete: warning(u"delete: maximum requested number of deletes would be exceeded, none performed.") return False if cfg.dry_run: for key in exclude_list: output(u"exclude: %s" % key) for key in remote_list: output(u"delete: %s" % remote_list[key]['object_uri_str']) warning(u"Exiting now because of --dry-run") return True for key in remote_list: item = remote_list[key] response = s3.object_delete(S3Uri(item['object_uri_str'])) output(u"delete: '%s'" % item['object_uri_str']) return True def cmd_object_restore(args): cfg = Config() s3 = S3(cfg) if cfg.restore_days < 1: raise ParameterError("You must restore a file for 1 or more days") # accept case-insensitive argument but fix it to match S3 API if cfg.restore_priority.title() not in ['Standard', 'Expedited', 'Bulk']: raise ParameterError("Valid restoration priorities: bulk, standard, expedited") else: cfg.restore_priority = cfg.restore_priority.title() remote_list, exclude_list, remote_total_size = fetch_remote_list(args, require_attribs = False, recursive = cfg.recursive) remote_count = len(remote_list) info(u"Summary: Restoring %d remote files for %d days at %s priority" % (remote_count, cfg.restore_days, cfg.restore_priority)) if cfg.dry_run: for key in exclude_list: output(u"exclude: %s" % key) for key in remote_list: output(u"restore: '%s'" % remote_list[key]['object_uri_str']) warning(u"Exiting now because of --dry-run") return EX_OK for key in remote_list: item = remote_list[key] uri = S3Uri(item['object_uri_str']) if not item['object_uri_str'].endswith("/"): try: response = s3.object_restore(S3Uri(item['object_uri_str'])) output(u"restore: '%s'" % item['object_uri_str']) except S3Error as e: if e.code == "RestoreAlreadyInProgress": warning("%s: %s" % (e.message, item['object_uri_str'])) else: raise e else: debug(u"Skipping directory since only files may be restored") return EX_OK def subcmd_cp_mv(args, process_fce, action_str, message): cfg = Config() if action_str == 'modify': if len(args) < 1: raise ParameterError("Expecting one or more S3 URIs for " + action_str) destination_base = None else: if len(args) < 2: raise ParameterError("Expecting two or more S3 URIs for " + action_str) dst_base_uri = S3Uri(args.pop()) if dst_base_uri.type != "s3": raise ParameterError("Destination must be S3 URI. To download a " "file use 'get' or 'sync'.") destination_base = dst_base_uri.uri() scoreboard = ExitScoreboard() remote_list, exclude_list, remote_total_size = \ fetch_remote_list(args, require_attribs=False) remote_count = len(remote_list) info(u"Summary: %d remote files to %s" % (remote_count, action_str)) if destination_base: # Trying to mv dir1/ to dir2 will not pass a test in S3.FileLists, # so we don't need to test for it here. if not destination_base.endswith('/') \ and (len(remote_list) > 1 or cfg.recursive): raise ParameterError("Destination must be a directory and end with" " '/' when acting on a folder content or on " "multiple sources.") if cfg.recursive: for key in remote_list: remote_list[key]['dest_name'] = destination_base + key else: for key in remote_list: if destination_base.endswith("/"): remote_list[key]['dest_name'] = destination_base + key else: remote_list[key]['dest_name'] = destination_base else: for key in remote_list: remote_list[key]['dest_name'] = remote_list[key]['object_uri_str'] if cfg.dry_run: for key in exclude_list: output(u"exclude: %s" % key) for key in remote_list: output(u"%s: '%s' -> '%s'" % (action_str, remote_list[key]['object_uri_str'], remote_list[key]['dest_name'])) warning(u"Exiting now because of --dry-run") return EX_OK seq = 0 for key in remote_list: seq += 1 seq_label = "[%d of %d]" % (seq, remote_count) item = remote_list[key] src_uri = S3Uri(item['object_uri_str']) dst_uri = S3Uri(item['dest_name']) src_size = item.get('size') extra_headers = copy(cfg.extra_headers) try: response = process_fce(src_uri, dst_uri, extra_headers, src_size=src_size, extra_label=seq_label) output(message % {"src": src_uri, "dst": dst_uri, "extra": seq_label}) if Config().acl_public: info(u"Public URL is: %s" % dst_uri.public_url()) scoreboard.success() except (S3Error, S3UploadError) as exc: if isinstance(exc, S3Error) and exc.code == "NoSuchKey": scoreboard.notfound() warning(u"Key not found %s" % item['object_uri_str']) else: scoreboard.failed() error(u"Copy failed for: '%s' (%s)", item['object_uri_str'], exc) if cfg.stop_on_error: break return scoreboard.rc() def cmd_cp(args): s3 = S3(Config()) return subcmd_cp_mv(args, s3.object_copy, "copy", u"remote copy: '%(src)s' -> '%(dst)s' %(extra)s") def cmd_modify(args): s3 = S3(Config()) return subcmd_cp_mv(args, s3.object_modify, "modify", u"modify: '%(src)s' %(extra)s") def cmd_mv(args): s3 = S3(Config()) return subcmd_cp_mv(args, s3.object_move, "move", u"move: '%(src)s' -> '%(dst)s' %(extra)s") def cmd_info(args): cfg = Config() s3 = S3(cfg) while (len(args)): uri_arg = args.pop(0) uri = S3Uri(uri_arg) if uri.type != "s3" or not uri.has_bucket(): raise ParameterError("Expecting S3 URI instead of '%s'" % uri_arg) try: if uri.has_object(): info = s3.object_info(uri) output(u"%s (object):" % uri.uri()) output(u" File size: %s" % info['headers']['content-length']) output(u" Last mod: %s" % info['headers']['last-modified']) output(u" MIME type: %s" % info['headers'].get('content-type', 'none')) output(u" Storage: %s" % info['headers'].get('x-amz-storage-class', 'STANDARD')) md5 = info['headers'].get('etag', '').strip('"\'') try: md5 = info['s3cmd-attrs']['md5'] except KeyError: pass output(u" MD5 sum: %s" % md5) if 'x-amz-server-side-encryption' in info['headers']: output(u" SSE: %s" % info['headers']['x-amz-server-side-encryption']) else: output(u" SSE: none") else: info = s3.bucket_info(uri) output(u"%s (bucket):" % uri.uri()) output(u" Location: %s" % (info['bucket-location'] or 'none')) output(u" Payer: %s" % (info['requester-pays'] or 'none')) expiration = s3.expiration_info(uri, cfg.bucket_location) if expiration and expiration['prefix'] is not None: expiration_desc = "Expiration Rule: " if expiration['prefix'] == "": expiration_desc += "all objects in this bucket " elif expiration['prefix'] is not None: expiration_desc += "objects with key prefix '" + expiration['prefix'] + "' " expiration_desc += "will expire in '" if expiration['days']: expiration_desc += expiration['days'] + "' day(s) after creation" elif expiration['date']: expiration_desc += expiration['date'] + "' " output(u" %s" % expiration_desc) else: output(u" Expiration Rule: none") try: policy = s3.get_policy(uri) output(u" Policy: %s" % policy) except S3Error as exc: # Ignore the exception and don't fail the info # if the server doesn't support setting ACLs if exc.status == 403: output(u" Policy: Not available: GetPolicy permission is needed to read the policy") elif exc.status == 405: output(u" Policy: Not available: Only the bucket owner can read the policy") elif exc.status not in [404, 501]: raise exc else: output(u" Policy: none") try: cors = s3.get_cors(uri) output(u" CORS: %s" % cors) except S3Error as exc: # Ignore the exception and don't fail the info # if the server doesn't support setting ACLs if exc.status not in [404, 501]: raise exc output(u" CORS: none") try: acl = s3.get_acl(uri) acl_grant_list = acl.getGrantList() for grant in acl_grant_list: output(u" ACL: %s: %s" % (grant['grantee'], grant['permission'])) if acl.isAnonRead(): output(u" URL: %s" % uri.public_url()) except S3Error as exc: # Ignore the exception and don't fail the info # if the server doesn't support setting ACLs if exc.status not in [404, 501]: raise exc else: output(u" ACL: none") if uri.has_object(): # Temporary hack for performance + python3 compatibility if PY3: info_headers_iter = info['headers'].items() else: info_headers_iter = info['headers'].iteritems() for header, value in info_headers_iter: if header.startswith('x-amz-meta-'): output(u" %s: %s" % (header, value)) except S3Error as e: if e.info["Code"] in S3.codes: error(S3.codes[e.info["Code"]] % uri.bucket()) raise return EX_OK def filedicts_to_keys(*args): keys = set() for a in args: keys.update(a.keys()) keys = list(keys) keys.sort() return keys def cmd_sync_remote2remote(args): cfg = Config() s3 = S3(cfg) # Normalise s3://uri (e.g. assert trailing slash) destination_base = S3Uri(args[-1]).uri() destbase_with_source_list = set() for source_arg in args[:-1]: if source_arg.endswith('/'): destbase_with_source_list.add(destination_base) else: destbase_with_source_list.add(os.path.join(destination_base, os.path.basename(source_arg))) stats_info = StatsInfo() src_list, src_exclude_list, remote_total_size = fetch_remote_list(args[:-1], recursive = True, require_attribs = True) dst_list, dst_exclude_list, _ = fetch_remote_list(destbase_with_source_list, recursive = True, require_attribs = True) src_count = len(src_list) orig_src_count = src_count dst_count = len(dst_list) deleted_count = 0 info(u"Found %d source files, %d destination files" % (src_count, dst_count)) src_list, dst_list, update_list, copy_pairs = compare_filelists(src_list, dst_list, src_remote = True, dst_remote = True) src_count = len(src_list) update_count = len(update_list) dst_count = len(dst_list) print(u"Summary: %d source files to copy, %d files at destination to delete" % (src_count + update_count, dst_count)) ### Populate 'target_uri' only if we've got something to sync from src to dst for key in src_list: src_list[key]['target_uri'] = destination_base + key for key in update_list: update_list[key]['target_uri'] = destination_base + key if cfg.dry_run: keys = filedicts_to_keys(src_exclude_list, dst_exclude_list) for key in keys: output(u"exclude: %s" % key) if cfg.delete_removed: for key in dst_list: output(u"delete: '%s'" % dst_list[key]['object_uri_str']) for key in src_list: output(u"remote copy: '%s' -> '%s'" % (src_list[key]['object_uri_str'], src_list[key]['target_uri'])) for key in update_list: output(u"remote copy: '%s' -> '%s'" % (update_list[key]['object_uri_str'], update_list[key]['target_uri'])) warning(u"Exiting now because of --dry-run") return EX_OK # if there are copy pairs, we can't do delete_before, on the chance # we need one of the to-be-deleted files as a copy source. if len(copy_pairs) > 0: cfg.delete_after = True if cfg.delete_removed and orig_src_count == 0 and len(dst_list) and not cfg.force: warning(u"delete: cowardly refusing to delete because no source files were found. Use --force to override.") cfg.delete_removed = False # Delete items in destination that are not in source if cfg.delete_removed and not cfg.delete_after: subcmd_batch_del(remote_list = dst_list) deleted_count = len(dst_list) def _upload(src_list, seq, src_count): file_list = src_list.keys() file_list.sort() ret = EX_OK total_nb_files = 0 total_size = 0 for file in file_list: seq += 1 item = src_list[file] src_uri = S3Uri(item['object_uri_str']) dst_uri = S3Uri(item['target_uri']) src_size = item.get('size') seq_label = "[%d of %d]" % (seq, src_count) extra_headers = copy(cfg.extra_headers) try: response = s3.object_copy(src_uri, dst_uri, extra_headers, src_size=src_size, extra_label=seq_label) output(u"remote copy: '%s' -> '%s' %s" % (src_uri, dst_uri, seq_label)) total_nb_files += 1 total_size += item.get(u'size', 0) except (S3Error, S3UploadError) as exc: ret = EX_PARTIAL error(u"File '%s' could not be copied: %s", src_uri, exc) if cfg.stop_on_error: raise return ret, seq, total_nb_files, total_size # Perform the synchronization of files timestamp_start = time.time() seq = 0 ret, seq, nb_files, size = _upload(src_list, seq, src_count + update_count) total_files_copied = nb_files total_size_copied = size status, seq, nb_files, size = _upload(update_list, seq, src_count + update_count) if ret == EX_OK: ret = status total_files_copied += nb_files total_size_copied += size n_copied, bytes_saved, failed_copy_files = remote_copy( s3, copy_pairs, destination_base, None, False) total_files_copied += n_copied total_size_copied += bytes_saved #process files not copied debug("Process files that were not remotely copied") failed_copy_count = len(failed_copy_files) for key in failed_copy_files: failed_copy_files[key]['target_uri'] = destination_base + key status, seq, nb_files, size = _upload(failed_copy_files, seq, src_count + update_count + failed_copy_count) if ret == EX_OK: ret = status total_files_copied += nb_files total_size_copied += size # Delete items in destination that are not in source if cfg.delete_removed and cfg.delete_after: subcmd_batch_del(remote_list = dst_list) deleted_count = len(dst_list) stats_info.files = orig_src_count stats_info.size = remote_total_size stats_info.files_copied = total_files_copied stats_info.size_copied = total_size_copied stats_info.files_deleted = deleted_count total_elapsed = max(1.0, time.time() - timestamp_start) outstr = "Done. Copied %d files in %0.1f seconds, %0.2f files/s." % (total_files_copied, total_elapsed, seq / total_elapsed) if cfg.stats: outstr += stats_info.format_output() output(outstr) elif seq > 0: output(outstr) else: info(outstr) return ret def cmd_sync_remote2local(args): cfg = Config() s3 = S3(cfg) def _do_deletes(local_list): total_size = 0 if cfg.max_delete > 0 and len(local_list) > cfg.max_delete: warning(u"delete: maximum requested number of deletes would be exceeded, none performed.") return total_size for key in local_list: os.unlink(deunicodise(local_list[key]['full_name'])) output(u"delete: '%s'" % local_list[key]['full_name']) total_size += local_list[key].get(u'size', 0) return len(local_list), total_size destination_base = args[-1] source_args = args[:-1] fetch_source_args = args[:-1] if not destination_base.endswith(os.path.sep): if fetch_source_args[0].endswith(u'/') or len(fetch_source_args) > 1: raise ParameterError("Destination must be a directory and end with '/' when downloading multiple sources.") stats_info = StatsInfo() remote_list, src_exclude_list, remote_total_size = fetch_remote_list(fetch_source_args, recursive = True, require_attribs = True) # - The source path is either like "/myPath/my_src_folder" and # the user want to download this single folder and Optionally only delete # things that have been removed inside this folder. For this case, we only # have to look inside destination_base/my_src_folder and not at the root of # destination_base. # - Or like "/myPath/my_src_folder/" and the user want to have the sync # with the content of this folder destbase_with_source_list = set() for source_arg in fetch_source_args: if source_arg.endswith('/'): if destination_base.endswith(os.path.sep): destbase_with_source_list.add(destination_base) else: destbase_with_source_list.add(destination_base + os.path.sep) else: destbase_with_source_list.add(os.path.join(destination_base, os.path.basename(source_arg))) local_list, single_file_local, dst_exclude_list, local_total_size = fetch_local_list(destbase_with_source_list, is_src = False, recursive = True) local_count = len(local_list) remote_count = len(remote_list) orig_remote_count = remote_count info(u"Found %d remote files, %d local files" % (remote_count, local_count)) remote_list, local_list, update_list, copy_pairs = compare_filelists(remote_list, local_list, src_remote = True, dst_remote = False) local_count = len(local_list) remote_count = len(remote_list) update_count = len(update_list) copy_pairs_count = len(copy_pairs) info(u"Summary: %d remote files to download, %d local files to delete, %d local files to hardlink" % (remote_count + update_count, local_count, copy_pairs_count)) def _set_local_filename(remote_list, destination_base, source_args): if len(remote_list) == 0: return if destination_base.endswith(os.path.sep): if not os.path.exists(deunicodise(destination_base)): if not cfg.dry_run: os.makedirs(deunicodise(destination_base)) if not os.path.isdir(deunicodise(destination_base)): raise ParameterError("Destination is not an existing directory") elif len(remote_list) == 1 and \ source_args[0] == remote_list[remote_list.keys()[0]].get(u'object_uri_str', ''): if os.path.isdir(deunicodise(destination_base)): raise ParameterError("Destination already exists and is a directory") remote_list[remote_list.keys()[0]]['local_filename'] = destination_base return if destination_base[-1] != os.path.sep: destination_base += os.path.sep for key in remote_list: local_filename = destination_base + key if os.path.sep != "/": local_filename = os.path.sep.join(local_filename.split("/")) remote_list[key]['local_filename'] = local_filename _set_local_filename(remote_list, destination_base, source_args) _set_local_filename(update_list, destination_base, source_args) if cfg.dry_run: keys = filedicts_to_keys(src_exclude_list, dst_exclude_list) for key in keys: output(u"exclude: %s" % key) if cfg.delete_removed: for key in local_list: output(u"delete: '%s'" % local_list[key]['full_name']) for key in remote_list: output(u"download: '%s' -> '%s'" % (remote_list[key]['object_uri_str'], remote_list[key]['local_filename'])) for key in update_list: output(u"download: '%s' -> '%s'" % (update_list[key]['object_uri_str'], update_list[key]['local_filename'])) warning(u"Exiting now because of --dry-run") return EX_OK # if there are copy pairs, we can't do delete_before, on the chance # we need one of the to-be-deleted files as a copy source. if len(copy_pairs) > 0: cfg.delete_after = True if cfg.delete_removed and orig_remote_count == 0 and len(local_list) and not cfg.force: warning(u"delete: cowardly refusing to delete because no source files were found. Use --force to override.") cfg.delete_removed = False if cfg.delete_removed and not cfg.delete_after: deleted_count, deleted_size = _do_deletes(local_list) else: deleted_count, deleted_size = (0, 0) def _download(remote_list, seq, total, total_size, dir_cache): original_umask = os.umask(0) os.umask(original_umask) file_list = remote_list.keys() file_list.sort() ret = EX_OK for file in file_list: seq += 1 item = remote_list[file] uri = S3Uri(item['object_uri_str']) dst_file = item['local_filename'] is_empty_directory = dst_file.endswith('/') seq_label = "[%d of %d]" % (seq, total) dst_dir = unicodise(os.path.dirname(deunicodise(dst_file))) if not dst_dir in dir_cache: dir_cache[dst_dir] = Utils.mkdir_with_parents(dst_dir) if dir_cache[dst_dir] == False: if cfg.stop_on_error: error(u"Exiting now because of --stop-on-error") raise OSError("Download of '%s' failed (Reason: %s destination directory is not writable)" % (file, dst_dir)) error(u"Download of '%s' failed (Reason: %s destination directory is not writable)" % (file, dst_dir)) ret = EX_PARTIAL continue try: chkptfname_b = '' if not is_empty_directory: # ignore empty directory at S3: debug(u"dst_file=%s" % dst_file) # create temporary files (of type .s3cmd.XXXX.tmp) in the same directory # for downloading and then rename once downloaded # unicode provided to mkstemp argument chkptfd, chkptfname_b = tempfile.mkstemp(u".tmp", u".s3cmd.", os.path.dirname(dst_file)) with io.open(chkptfd, mode='wb') as dst_stream: dst_stream.stream_name = unicodise(chkptfname_b) debug(u"created chkptfname=%s" % dst_stream.stream_name) response = s3.object_get(uri, dst_stream, dst_file, extra_label = seq_label) # download completed, rename the file to destination if os.name == "nt": # Windows is really a bad OS. Rename can't overwrite an existing file try: os.unlink(deunicodise(dst_file)) except OSError: pass os.rename(chkptfname_b, deunicodise(dst_file)) debug(u"renamed chkptfname=%s to dst_file=%s" % (dst_stream.stream_name, dst_file)) except OSError as exc: allow_partial = True if exc.errno == errno.EISDIR: error(u"Download of '%s' failed (Reason: %s is a directory)" % (file, dst_file)) elif os.name != "nt" and exc.errno == errno.ETXTBSY: error(u"Download of '%s' failed (Reason: %s is currently open for execute, cannot be overwritten)" % (file, dst_file)) elif exc.errno == errno.EPERM or exc.errno == errno.EACCES: error(u"Download of '%s' failed (Reason: %s permission denied)" % (file, dst_file)) elif exc.errno == errno.EBUSY: error(u"Download of '%s' failed (Reason: %s is busy)" % (file, dst_file)) elif exc.errno == errno.EFBIG: error(u"Download of '%s' failed (Reason: %s is too big)" % (file, dst_file)) elif exc.errno == errno.ENAMETOOLONG: error(u"Download of '%s' failed (Reason: File Name is too long)" % file) elif (exc.errno == errno.ENOSPC or (os.name != "nt" and exc.errno == errno.EDQUOT)): error(u"Download of '%s' failed (Reason: No space left)" % file) allow_partial = False else: error(u"Download of '%s' failed (Reason: Unknown OsError %d)" % (file, exc.errno or 0)) allow_partial = False try: # Try to remove the temp file if it exists if chkptfname_b: os.unlink(chkptfname_b) except Exception: pass if allow_partial and not cfg.stop_on_error: ret = EX_PARTIAL continue ret = EX_OSFILE if allow_partial: error(u"Exiting now because of --stop-on-error") else: error(u"Exiting now because of fatal error") raise except S3DownloadError as exc: error(u"Download of '%s' failed too many times (Last Reason: %s). " "This is usually a transient error, please try again " "later." % (file, exc)) try: os.unlink(chkptfname_b) except Exception as sub_exc: warning(u"Error deleting temporary file %s (Reason: %s)", (dst_stream.stream_name, sub_exc)) if cfg.stop_on_error: ret = EX_DATAERR error(u"Exiting now because of --stop-on-error") raise ret = EX_PARTIAL continue except S3Error as exc: warning(u"Remote file '%s'. S3Error: %s" % (exc.resource, exc)) try: os.unlink(chkptfname_b) except Exception as sub_exc: warning(u"Error deleting temporary file %s (Reason: %s)", (dst_stream.stream_name, sub_exc)) if cfg.stop_on_error: raise ret = EX_PARTIAL continue try: # set permissions on destination file if not is_empty_directory: # a normal file mode = 0o777 - original_umask else: # an empty directory, make them readable/executable mode = 0o775 debug(u"mode=%s" % oct(mode)) os.chmod(deunicodise(dst_file), mode) except: raise # because we don't upload empty directories, # we can continue the loop here, we won't be setting stat info. # if we do start to upload empty directories, we'll have to reconsider this. if is_empty_directory: continue try: if 's3cmd-attrs' in response and cfg.preserve_attrs: attrs = response['s3cmd-attrs'] if 'mode' in attrs: os.chmod(deunicodise(dst_file), int(attrs['mode'])) if 'mtime' in attrs or 'atime' in attrs: mtime = ('mtime' in attrs) and int(attrs['mtime']) or int(time.time()) atime = ('atime' in attrs) and int(attrs['atime']) or int(time.time()) os.utime(deunicodise(dst_file), (atime, mtime)) if 'uid' in attrs and 'gid' in attrs: uid = int(attrs['uid']) gid = int(attrs['gid']) os.lchown(deunicodise(dst_file),uid,gid) elif 'last-modified' in response['headers']: last_modified = time.mktime(time.strptime(response["headers"]["last-modified"], "%a, %d %b %Y %H:%M:%S GMT")) os.utime(deunicodise(dst_file), (last_modified, last_modified)) debug("set mtime to %s" % last_modified) except OSError as e: ret = EX_PARTIAL if e.errno == errno.EEXIST: warning(u"%s exists - not overwriting" % dst_file) continue if e.errno in (errno.EPERM, errno.EACCES): warning(u"%s not writable: %s" % (dst_file, e.strerror)) if cfg.stop_on_error: raise e continue raise e except KeyboardInterrupt: warning(u"Exiting after keyboard interrupt") return except Exception as e: ret = EX_PARTIAL error(u"%s: %s" % (file, e)) if cfg.stop_on_error: raise OSError(e) continue finally: try: os.remove(chkptfname_b) except Exception: pass speed_fmt = formatSize(response["speed"], human_readable = True, floating_point = True) if not Config().progress_meter: output(u"download: '%s' -> '%s' (%d bytes in %0.1f seconds, %0.2f %sB/s) %s" % (uri, dst_file, response["size"], response["elapsed"], speed_fmt[0], speed_fmt[1], seq_label)) total_size += response["size"] if Config().delete_after_fetch: s3.object_delete(uri) output(u"File '%s' removed after syncing" % (uri)) return ret, seq, total_size size_transferred = 0 total_elapsed = 0.0 timestamp_start = time.time() dir_cache = {} seq = 0 ret, seq, size_transferred = _download(remote_list, seq, remote_count + update_count, size_transferred, dir_cache) status, seq, size_transferred = _download(update_list, seq, remote_count + update_count, size_transferred, dir_cache) if ret == EX_OK: ret = status n_copies, size_copies, failed_copy_list = local_copy(copy_pairs, destination_base) _set_local_filename(failed_copy_list, destination_base, source_args) status, seq, size_transferred = _download(failed_copy_list, seq, len(failed_copy_list) + remote_count + update_count, size_transferred, dir_cache) if ret == EX_OK: ret = status if cfg.delete_removed and cfg.delete_after: deleted_count, deleted_size = _do_deletes(local_list) total_elapsed = max(1.0, time.time() - timestamp_start) speed_fmt = formatSize(size_transferred / total_elapsed, human_readable = True, floating_point = True) stats_info.files = orig_remote_count stats_info.size = remote_total_size stats_info.files_transferred = len(failed_copy_list) + remote_count + update_count stats_info.size_transferred = size_transferred stats_info.files_copied = n_copies stats_info.size_copied = size_copies stats_info.files_deleted = deleted_count stats_info.size_deleted = deleted_size # Only print out the result if any work has been done or # if the user asked for verbose output outstr = "Done. Downloaded %d bytes in %0.1f seconds, %0.2f %sB/s." % (size_transferred, total_elapsed, speed_fmt[0], speed_fmt[1]) if cfg.stats: outstr += stats_info.format_output() output(outstr) elif size_transferred > 0: output(outstr) else: info(outstr) return ret def local_copy(copy_pairs, destination_base): # Do NOT hardlink local files by default, that'd be silly # For instance all empty files would become hardlinked together! saved_bytes = 0 failed_copy_list = FileDict() for (src_obj, dst1, relative_file, md5) in copy_pairs: src_file = os.path.join(destination_base, dst1) dst_file = os.path.join(destination_base, relative_file) dst_dir = os.path.dirname(deunicodise(dst_file)) try: if not os.path.isdir(deunicodise(dst_dir)): debug("MKDIR %s" % dst_dir) os.makedirs(deunicodise(dst_dir)) debug(u"Copying %s to %s" % (src_file, dst_file)) shutil.copy2(deunicodise(src_file), deunicodise(dst_file)) saved_bytes += src_obj.get(u'size', 0) except (IOError, OSError) as e: warning(u'Unable to copy or hardlink files %s -> %s (Reason: %s)' % (src_file, dst_file, e)) failed_copy_list[relative_file] = src_obj return len(copy_pairs), saved_bytes, failed_copy_list def remote_copy(s3, copy_pairs, destination_base, uploaded_objects_list=None, metadata_update=False): cfg = Config() saved_bytes = 0 failed_copy_list = FileDict() seq = 0 src_count = len(copy_pairs) for (src_obj, dst1, dst2, src_md5) in copy_pairs: seq += 1 debug(u"Remote Copying from %s to %s" % (dst1, dst2)) dst1_uri = S3Uri(destination_base + dst1) dst2_uri = S3Uri(destination_base + dst2) src_obj_size = src_obj.get(u'size', 0) seq_label = "[%d of %d]" % (seq, src_count) extra_headers = copy(cfg.extra_headers) if metadata_update: # source is a real local file with its own personal metadata attr_header = _build_attr_header(src_obj, dst2, src_md5) debug(u"attr_header: %s" % attr_header) extra_headers.update(attr_header) extra_headers['content-type'] = \ s3.content_type(filename=src_obj['full_name']) try: s3.object_copy(dst1_uri, dst2_uri, extra_headers, src_size=src_obj_size, extra_label=seq_label) output(u"remote copy: '%s' -> '%s' %s" % (dst1, dst2, seq_label)) saved_bytes += src_obj_size if uploaded_objects_list is not None: uploaded_objects_list.append(dst2) except Exception: warning(u"Unable to remote copy files '%s' -> '%s'" % (dst1_uri, dst2_uri)) failed_copy_list[dst2] = src_obj return (len(copy_pairs), saved_bytes, failed_copy_list) def _build_attr_header(src_obj, src_relative_name, md5=None): cfg = Config() attrs = {} if cfg.preserve_attrs: for attr in cfg.preserve_attrs_list: val = None if attr == 'uname': try: val = Utils.urlencode_string(Utils.getpwuid_username(src_obj['uid']), unicode_output=True) except (KeyError, TypeError): attr = "uid" val = src_obj.get('uid') if val: warning(u"%s: Owner username not known. Storing UID=%d instead." % (src_relative_name, val)) elif attr == 'gname': try: val = Utils.urlencode_string(Utils.getgrgid_grpname(src_obj.get('gid')), unicode_output=True) except (KeyError, TypeError): attr = "gid" val = src_obj.get('gid') if val: warning(u"%s: Owner groupname not known. Storing GID=%d instead." % (src_relative_name, val)) elif attr != "md5": try: val = getattr(src_obj['sr'], 'st_' + attr) except Exception: val = None if val is not None: attrs[attr] = val if 'md5' in cfg.preserve_attrs_list and md5: attrs['md5'] = md5 if attrs: attr_str_list = [] for k in sorted(attrs.keys()): attr_str_list.append(u"%s:%s" % (k, attrs[k])) attr_header = {'x-amz-meta-s3cmd-attrs': u'/'.join(attr_str_list)} else: attr_header = {} return attr_header def cmd_sync_local2remote(args): cfg = Config() s3 = S3(cfg) def _single_process(source_args): for dest in destinations: ## Normalize URI to convert s3://bkt to s3://bkt/ (trailing slash) destination_base_uri = S3Uri(dest) if destination_base_uri.type != 's3': raise ParameterError("Destination must be S3Uri. Got: %s" % destination_base_uri) destination_base = destination_base_uri.uri() return _child(destination_base, source_args) def _parent(source_args): # Now that we've done all the disk I/O to look at the local file system and # calculate the md5 for each file, fork for each destination to upload to them separately # and in parallel child_pids = [] ret = EX_OK for dest in destinations: ## Normalize URI to convert s3://bkt to s3://bkt/ (trailing slash) destination_base_uri = S3Uri(dest) if destination_base_uri.type != 's3': raise ParameterError("Destination must be S3Uri. Got: %s" % destination_base_uri) destination_base = destination_base_uri.uri() child_pid = os.fork() if child_pid == 0: os._exit(_child(destination_base, source_args)) else: child_pids.append(child_pid) while len(child_pids): (pid, status) = os.wait() child_pids.remove(pid) if ret == EX_OK: ret = os.WEXITSTATUS(status) return ret def _child(destination_base, source_args): def _set_remote_uri(local_list, destination_base, single_file_local): if len(local_list) > 0: ## Populate 'remote_uri' only if we've got something to upload if not destination_base.endswith("/"): if not single_file_local: raise ParameterError("Destination S3 URI must end with '/' (ie must refer to a directory on the remote side).") local_list[local_list.keys()[0]]['remote_uri'] = destination_base else: for key in local_list: local_list[key]['remote_uri'] = destination_base + key def _upload(local_list, seq, total, total_size): file_list = local_list.keys() file_list.sort() ret = EX_OK for file in file_list: seq += 1 item = local_list[file] src = item['full_name'] try: src_md5 = local_list.get_md5(file) except IOError: src_md5 = None uri = S3Uri(item['remote_uri']) seq_label = "[%d of %d]" % (seq, total) extra_headers = copy(cfg.extra_headers) try: attr_header = _build_attr_header(local_list[file], file, src_md5) debug(u"attr_header: %s" % attr_header) extra_headers.update(attr_header) response = s3.object_put(src, uri, extra_headers, extra_label = seq_label) except S3UploadError as exc: error(u"Upload of '%s' failed too many times (Last reason: %s)" % (item['full_name'], exc)) if cfg.stop_on_error: ret = EX_DATAERR error(u"Exiting now because of --stop-on-error") raise ret = EX_PARTIAL continue except InvalidFileError as exc: error(u"Upload of '%s' is not possible (Reason: %s)" % (item['full_name'], exc)) if cfg.stop_on_error: ret = EX_OSFILE error(u"Exiting now because of --stop-on-error") raise ret = EX_PARTIAL continue speed_fmt = formatSize(response["speed"], human_readable = True, floating_point = True) if not cfg.progress_meter: output(u"upload: '%s' -> '%s' (%d bytes in %0.1f seconds, %0.2f %sB/s) %s" % (item['full_name'], uri, response["size"], response["elapsed"], speed_fmt[0], speed_fmt[1], seq_label)) total_size += response["size"] uploaded_objects_list.append(uri.object()) return ret, seq, total_size stats_info = StatsInfo() local_list, single_file_local, src_exclude_list, local_total_size = fetch_local_list(args[:-1], is_src = True, recursive = True) # - The source path is either like "/myPath/my_src_folder" and # the user want to upload this single folder and optionally only delete # things that have been removed inside this folder. For this case, # we only have to look inside destination_base/my_src_folder and not at # the root of destination_base. # - Or like "/myPath/my_src_folder/" and the user want to have the sync # with the content of this folder # Special case, "." for current folder. destbase_with_source_list = set() for source_arg in source_args: if not source_arg.endswith('/') and os.path.basename(source_arg) != '.' \ and not single_file_local: destbase_with_source_list.add(os.path.join(destination_base, os.path.basename(source_arg))) else: destbase_with_source_list.add(destination_base) remote_list, dst_exclude_list, remote_total_size = fetch_remote_list(destbase_with_source_list, recursive = True, require_attribs = True) local_count = len(local_list) orig_local_count = local_count remote_count = len(remote_list) info(u"Found %d local files, %d remote files" % (local_count, remote_count)) if single_file_local and len(local_list) == 1 and len(remote_list) == 1: ## Make remote_key same as local_key for comparison if we're dealing with only one file remote_list_entry = remote_list[remote_list.keys()[0]] # Flush remote_list, by the way remote_list = FileDict() remote_list[local_list.keys()[0]] = remote_list_entry local_list, remote_list, update_list, copy_pairs = compare_filelists(local_list, remote_list, src_remote = False, dst_remote = True) local_count = len(local_list) update_count = len(update_list) copy_count = len(copy_pairs) remote_count = len(remote_list) upload_count = local_count + update_count info(u"Summary: %d local files to upload, %d files to remote copy, %d remote files to delete" % (upload_count, copy_count, remote_count)) _set_remote_uri(local_list, destination_base, single_file_local) _set_remote_uri(update_list, destination_base, single_file_local) if cfg.dry_run: keys = filedicts_to_keys(src_exclude_list, dst_exclude_list) for key in keys: output(u"exclude: %s" % key) for key in local_list: output(u"upload: '%s' -> '%s'" % (local_list[key]['full_name'], local_list[key]['remote_uri'])) for key in update_list: output(u"upload: '%s' -> '%s'" % (update_list[key]['full_name'], update_list[key]['remote_uri'])) for (src_obj, dst1, dst2, md5) in copy_pairs: output(u"remote copy: '%s' -> '%s'" % (dst1, dst2)) if cfg.delete_removed: for key in remote_list: output(u"delete: '%s'" % remote_list[key]['object_uri_str']) warning(u"Exiting now because of --dry-run") return EX_OK # if there are copy pairs, we can't do delete_before, on the chance # we need one of the to-be-deleted files as a copy source. if len(copy_pairs) > 0: cfg.delete_after = True if cfg.delete_removed and orig_local_count == 0 and len(remote_list) and not cfg.force: warning(u"delete: cowardly refusing to delete because no source files were found. Use --force to override.") cfg.delete_removed = False if cfg.delete_removed and not cfg.delete_after and remote_list: subcmd_batch_del(remote_list = remote_list) size_transferred = 0 total_elapsed = 0.0 timestamp_start = time.time() ret, n, size_transferred = _upload(local_list, 0, upload_count, size_transferred) status, n, size_transferred = _upload(update_list, n, upload_count, size_transferred) if ret == EX_OK: ret = status # uploaded_objects_list reference is passed so it can be filled with # destination object of succcessful copies so that they can be # invalidated by cf n_copies, saved_bytes, failed_copy_files = remote_copy( s3, copy_pairs, destination_base, uploaded_objects_list, True) #upload file that could not be copied debug("Process files that were not remotely copied") failed_copy_count = len(failed_copy_files) _set_remote_uri(failed_copy_files, destination_base, single_file_local) status, n, size_transferred = _upload(failed_copy_files, n, upload_count + failed_copy_count, size_transferred) if ret == EX_OK: ret = status if cfg.delete_removed and cfg.delete_after and remote_list: subcmd_batch_del(remote_list = remote_list) total_elapsed = max(1.0, time.time() - timestamp_start) total_speed = total_elapsed and size_transferred / total_elapsed or 0.0 speed_fmt = formatSize(total_speed, human_readable = True, floating_point = True) stats_info.files = orig_local_count stats_info.size = local_total_size stats_info.files_transferred = upload_count + failed_copy_count stats_info.size_transferred = size_transferred stats_info.files_copied = n_copies stats_info.size_copied = saved_bytes stats_info.files_deleted = remote_count # Only print out the result if any work has been done or # if the user asked for verbose output outstr = "Done. Uploaded %d bytes in %0.1f seconds, %0.2f %sB/s." % (size_transferred, total_elapsed, speed_fmt[0], speed_fmt[1]) if cfg.stats: outstr += stats_info.format_output() output(outstr) elif size_transferred + saved_bytes > 0: output(outstr) else: info(outstr) return ret def _invalidate_on_cf(destination_base_uri): cf = CloudFront(cfg) default_index_file = None if cfg.invalidate_default_index_on_cf or cfg.invalidate_default_index_root_on_cf: info_response = s3.website_info(destination_base_uri, cfg.bucket_location) if info_response: default_index_file = info_response['index_document'] if len(default_index_file) < 1: default_index_file = None results = cf.InvalidateObjects(destination_base_uri, uploaded_objects_list, default_index_file, cfg.invalidate_default_index_on_cf, cfg.invalidate_default_index_root_on_cf) for result in results: if result['status'] == 201: output(u"Created invalidation request for %d paths" % len(uploaded_objects_list)) output(u"Check progress with: s3cmd cfinvalinfo cf://%s/%s" % (result['dist_id'], result['request_id'])) # main execution uploaded_objects_list = [] if cfg.encrypt: error(u"S3cmd 'sync' doesn't yet support GPG encryption, sorry.") error(u"Either use unconditional 's3cmd put --recursive'") error(u"or disable encryption with --no-encrypt parameter.") sys.exit(EX_USAGE) for arg in args[:-1]: if not os.path.exists(deunicodise(arg)): raise ParameterError("Invalid source: '%s' is not an existing file or directory" % arg) destinations = [args[-1]] if cfg.additional_destinations: destinations = destinations + cfg.additional_destinations if 'fork' not in os.__all__ or len(destinations) < 2: ret = _single_process(args[:-1]) destination_base_uri = S3Uri(destinations[-1]) if cfg.invalidate_on_cf: if len(uploaded_objects_list) == 0: info("Nothing to invalidate in CloudFront") else: _invalidate_on_cf(destination_base_uri) else: ret = _parent(args[:-1]) if cfg.invalidate_on_cf: error(u"You cannot use both --cf-invalidate and --add-destination.") return(EX_USAGE) return ret def cmd_sync(args): cfg = Config() if (len(args) < 2): syntax_msg = '' commands_list = get_commands_list() for cmd in commands_list: if cmd.get('cmd') == 'sync': syntax_msg = cmd.get('param', '') break raise ParameterError("Too few parameters! Expected: %s" % syntax_msg) if cfg.delay_updates: warning(u"`delay-updates` is obsolete.") for arg in args: if arg == u'-': raise ParameterError("Stdin or stdout ('-') can't be used for a source or a destination with the sync command.") if S3Uri(args[0]).type == "file" and S3Uri(args[-1]).type == "s3": return cmd_sync_local2remote(args) if S3Uri(args[0]).type == "s3" and S3Uri(args[-1]).type == "file": return cmd_sync_remote2local(args) if S3Uri(args[0]).type == "s3" and S3Uri(args[-1]).type == "s3": return cmd_sync_remote2remote(args) raise ParameterError("Invalid source/destination: '%s'" % "' '".join(args)) def cmd_setacl(args): cfg = Config() s3 = S3(cfg) set_to_acl = cfg.acl_public and "Public" or "Private" if not cfg.recursive: old_args = args args = [] for arg in old_args: uri = S3Uri(arg) if not uri.has_object(): if cfg.acl_public != None: info("Setting bucket-level ACL for %s to %s" % (uri.uri(), set_to_acl)) else: info("Setting bucket-level ACL for %s" % (uri.uri())) if not cfg.dry_run: update_acl(s3, uri) else: args.append(arg) remote_list, exclude_list, _ = fetch_remote_list(args) remote_count = len(remote_list) info(u"Summary: %d remote files to update" % remote_count) if cfg.dry_run: for key in exclude_list: output(u"exclude: %s" % key) for key in remote_list: output(u"setacl: '%s'" % remote_list[key]['object_uri_str']) warning(u"Exiting now because of --dry-run") return EX_OK seq = 0 for key in remote_list: seq += 1 seq_label = "[%d of %d]" % (seq, remote_count) uri = S3Uri(remote_list[key]['object_uri_str']) update_acl(s3, uri, seq_label) return EX_OK def cmd_setpolicy(args): cfg = Config() s3 = S3(cfg) uri = S3Uri(args[1]) policy_file = args[0] with open(deunicodise(policy_file), 'r') as fp: policy = fp.read() if cfg.dry_run: return EX_OK response = s3.set_policy(uri, policy) #if retsponse['status'] == 200: debug(u"response - %s" % response['status']) if response['status'] == 204: output(u"%s: Policy updated" % uri) return EX_OK def cmd_delpolicy(args): cfg = Config() s3 = S3(cfg) uri = S3Uri(args[0]) if cfg.dry_run: return EX_OK response = s3.delete_policy(uri) #if retsponse['status'] == 200: debug(u"response - %s" % response['status']) output(u"%s: Policy deleted" % uri) return EX_OK def cmd_setcors(args): cfg = Config() s3 = S3(cfg) uri = S3Uri(args[1]) cors_file = args[0] with open(deunicodise(cors_file), 'r') as fp: cors = fp.read() if cfg.dry_run: return EX_OK response = s3.set_cors(uri, cors) #if retsponse['status'] == 200: debug(u"response - %s" % response['status']) if response['status'] == 204: output(u"%s: CORS updated" % uri) return EX_OK def cmd_delcors(args): cfg = Config() s3 = S3(cfg) uri = S3Uri(args[0]) if cfg.dry_run: return EX_OK response = s3.delete_cors(uri) #if retsponse['status'] == 200: debug(u"response - %s" % response['status']) output(u"%s: CORS deleted" % uri) return EX_OK def cmd_set_payer(args): cfg = Config() s3 = S3(cfg) uri = S3Uri(args[0]) if cfg.dry_run: return EX_OK response = s3.set_payer(uri) if response['status'] == 200: output(u"%s: Payer updated" % uri) return EX_OK else: output(u"%s: Payer NOT updated" % uri) return EX_CONFLICT def cmd_setlifecycle(args): cfg = Config() s3 = S3(cfg) uri = S3Uri(args[1]) lifecycle_policy_file = args[0] with open(deunicodise(lifecycle_policy_file), 'r') as fp: lifecycle_policy = fp.read() if cfg.dry_run: return EX_OK response = s3.set_lifecycle_policy(uri, lifecycle_policy) debug(u"response - %s" % response['status']) if response['status'] == 200: output(u"%s: Lifecycle Policy updated" % uri) return EX_OK def cmd_getlifecycle(args): cfg = Config() s3 = S3(cfg) uri = S3Uri(args[0]) response = s3.get_lifecycle_policy(uri) output(u"%s" % getPrettyFromXml(response['data'])) return EX_OK def cmd_dellifecycle(args): cfg = Config() s3 = S3(cfg) uri = S3Uri(args[0]) if cfg.dry_run: return EX_OK response = s3.delete_lifecycle_policy(uri) debug(u"response - %s" % response['status']) output(u"%s: Lifecycle Policy deleted" % uri) return EX_OK def cmd_multipart(args): cfg = Config() s3 = S3(cfg) uri = S3Uri(args[0]) #id = '' #if(len(args) > 1): id = args[1] upload_list = s3.get_multipart(uri) output(u"%s" % uri) debug(upload_list) output(u"Initiated\tPath\tId") for mpupload in upload_list: try: output(u"%s\t%s\t%s" % ( mpupload['Initiated'], "s3://" + uri.bucket() + "/" + mpupload['Key'], mpupload['UploadId'])) except KeyError: pass return EX_OK def cmd_abort_multipart(args): '''{"cmd":"abortmp", "label":"abort a multipart upload", "param":"s3://BUCKET Id", "func":cmd_abort_multipart, "argc":2},''' cfg = Config() s3 = S3(cfg) uri = S3Uri(args[0]) id = args[1] response = s3.abort_multipart(uri, id) debug(u"response - %s" % response['status']) output(u"%s" % uri) return EX_OK def cmd_list_multipart(args): '''{"cmd":"abortmp", "label":"list a multipart upload", "param":"s3://BUCKET Id", "func":cmd_list_multipart, "argc":2},''' cfg = Config() s3 = S3(cfg) uri = S3Uri(args[0]) id = args[1] part_list = s3.list_multipart(uri, id) output(u"LastModified\t\t\tPartNumber\tETag\tSize") for mpupload in part_list: try: output(u"%s\t%s\t%s\t%s" % (mpupload['LastModified'], mpupload['PartNumber'], mpupload['ETag'], mpupload['Size'])) except KeyError: pass return EX_OK def cmd_accesslog(args): cfg = Config() s3 = S3(cfg) bucket_uri = S3Uri(args.pop()) if bucket_uri.object(): raise ParameterError("Only bucket name is required for [accesslog] command") if cfg.log_target_prefix == False: accesslog, response = s3.set_accesslog(bucket_uri, enable = False) elif cfg.log_target_prefix: log_target_prefix_uri = S3Uri(cfg.log_target_prefix) if log_target_prefix_uri.type != "s3": raise ParameterError("--log-target-prefix must be a S3 URI") accesslog, response = s3.set_accesslog(bucket_uri, enable = True, log_target_prefix_uri = log_target_prefix_uri, acl_public = cfg.acl_public) else: # cfg.log_target_prefix == None accesslog = s3.get_accesslog(bucket_uri) output(u"Access logging for: %s" % bucket_uri.uri()) output(u" Logging Enabled: %s" % accesslog.isLoggingEnabled()) if accesslog.isLoggingEnabled(): output(u" Target prefix: %s" % accesslog.targetPrefix().uri()) #output(u" Public Access: %s" % accesslog.isAclPublic()) return EX_OK def cmd_sign(args): string_to_sign = args.pop() debug(u"string-to-sign: %r" % string_to_sign) signature = Crypto.sign_string_v2(encode_to_s3(string_to_sign)) output(u"Signature: %s" % decode_from_s3(signature)) return EX_OK def cmd_signurl(args): expiry = args.pop() url_to_sign = S3Uri(args.pop()) if url_to_sign.type != 's3': raise ParameterError("Must be S3Uri. Got: %s" % url_to_sign) debug("url to sign: %r" % url_to_sign) signed_url = Crypto.sign_url_v2(url_to_sign, expiry) output(signed_url) return EX_OK def cmd_fixbucket(args): def _unescape(text): ## # Removes HTML or XML character references and entities from a text string. # # @param text The HTML (or XML) source text. # @return The plain text, as a Unicode string, if necessary. # # From: http://effbot.org/zone/re-sub.htm#unescape-html def _unescape_fixup(m): text = m.group(0) if not 'apos' in htmlentitydefs.name2codepoint: htmlentitydefs.name2codepoint['apos'] = ord("'") if text[:2] == "&#": # character reference try: if text[:3] == "&#x": return unichr(int(text[3:-1], 16)) else: return unichr(int(text[2:-1])) except ValueError: pass else: # named entity try: text = unichr(htmlentitydefs.name2codepoint[text[1:-1]]) except KeyError: pass return text # leave as is text = text.encode('ascii', 'xmlcharrefreplace') return re.sub(r"&#?\w+;", _unescape_fixup, text) cfg = Config() cfg.urlencoding_mode = "fixbucket" s3 = S3(cfg) count = 0 for arg in args: culprit = S3Uri(arg) if culprit.type != "s3": raise ParameterError("Expecting S3Uri instead of: %s" % arg) response = s3.bucket_list_noparse(culprit.bucket(), culprit.object(), recursive = True) r_xent = re.compile(r"&#x[\da-fA-F]+;") keys = re.findall("<Key>(.*?)</Key>", response['data'], re.MULTILINE | re.UNICODE) debug("Keys: %r" % keys) for key in keys: if r_xent.search(key): info("Fixing: %s" % key) debug("Step 1: Transforming %s" % key) key_bin = _unescape(key) debug("Step 2: ... to %s" % key_bin) key_new = replace_nonprintables(key_bin) debug("Step 3: ... then to %s" % key_new) src = S3Uri("s3://%s/%s" % (culprit.bucket(), key_bin)) dst = S3Uri("s3://%s/%s" % (culprit.bucket(), key_new)) if cfg.dry_run: output(u"[--dry-run] File %r would be renamed to %s" % (key_bin, key_new)) continue try: resp_move = s3.object_move(src, dst) if resp_move['status'] == 200: output(u"File '%r' renamed to '%s'" % (key_bin, key_new)) count += 1 else: error(u"Something went wrong for: %r" % key) error(u"Please report the problem to s3tools-bugs@lists.sourceforge.net") except S3Error: error(u"Something went wrong for: %r" % key) error(u"Please report the problem to s3tools-bugs@lists.sourceforge.net") if count > 0: warning(u"Fixed %d files' names. Their ACL were reset to Private." % count) warning(u"Use 's3cmd setacl --acl-public s3://...' to make") warning(u"them publicly readable if required.") return EX_OK def resolve_list(lst, args): retval = [] for item in lst: retval.append(item % args) return retval def gpg_command(command, passphrase = ""): debug(u"GPG command: " + " ".join(command)) command = [deunicodise(cmd_entry) for cmd_entry in command] p = subprocess.Popen(command, stdin = subprocess.PIPE, stdout = subprocess.PIPE, stderr = subprocess.STDOUT, close_fds = True) p_stdout, p_stderr = p.communicate(deunicodise(passphrase + "\n")) debug(u"GPG output:") for line in unicodise(p_stdout).split("\n"): debug(u"GPG: " + line) p_exitcode = p.wait() return p_exitcode def gpg_encrypt(filename): cfg = Config() tmp_filename = Utils.mktmpfile() args = { "gpg_command" : cfg.gpg_command, "passphrase_fd" : "0", "input_file" : filename, "output_file" : tmp_filename, } info(u"Encrypting file %s to %s..." % (filename, tmp_filename)) command = resolve_list(cfg.gpg_encrypt.split(" "), args) code = gpg_command(command, cfg.gpg_passphrase) return (code, tmp_filename, "gpg") def gpg_decrypt(filename, gpgenc_header = "", in_place = True): cfg = Config() tmp_filename = Utils.mktmpfile(filename) args = { "gpg_command" : cfg.gpg_command, "passphrase_fd" : "0", "input_file" : filename, "output_file" : tmp_filename, } info(u"Decrypting file %s to %s..." % (filename, tmp_filename)) command = resolve_list(cfg.gpg_decrypt.split(" "), args) code = gpg_command(command, cfg.gpg_passphrase) if code == 0 and in_place: debug(u"Renaming %s to %s" % (tmp_filename, filename)) os.unlink(deunicodise(filename)) os.rename(deunicodise(tmp_filename), deunicodise(filename)) tmp_filename = filename return (code, tmp_filename) def run_configure(config_file, args): cfg = Config() options = [ ("access_key", "Access Key", "Access key and Secret key are your identifiers for Amazon S3. Leave them empty for using the env variables."), ("secret_key", "Secret Key"), ("bucket_location", "Default Region"), ("host_base", "S3 Endpoint", "Use \"s3.amazonaws.com\" for S3 Endpoint and not modify it to the target Amazon S3."), ("host_bucket", "DNS-style bucket+hostname:port template for accessing a bucket", "Use \"%(bucket)s.s3.amazonaws.com\" to the target Amazon S3. \"%(bucket)s\" and \"%(location)s\" vars can be used\nif the target S3 system supports dns based buckets."), ("gpg_passphrase", "Encryption password", "Encryption password is used to protect your files from reading\nby unauthorized persons while in transfer to S3"), ("gpg_command", "Path to GPG program"), ("use_https", "Use HTTPS protocol", "When using secure HTTPS protocol all communication with Amazon S3\nservers is protected from 3rd party eavesdropping. This method is\nslower than plain HTTP, and can only be proxied with Python 2.7 or newer"), ("proxy_host", "HTTP Proxy server name", "On some networks all internet access must go through a HTTP proxy.\nTry setting it here if you can't connect to S3 directly"), ("proxy_port", "HTTP Proxy server port"), ] ## Option-specfic defaults if getattr(cfg, "gpg_command") == "": setattr(cfg, "gpg_command", which("gpg")) if getattr(cfg, "proxy_host") == "" and os.getenv("http_proxy"): autodetected_encoding = locale.getpreferredencoding() or "UTF-8" re_match=re.match(r"(http://)?([^:]+):(\d+)", unicodise_s(os.getenv("http_proxy"), autodetected_encoding)) if re_match: setattr(cfg, "proxy_host", re_match.groups()[1]) setattr(cfg, "proxy_port", re_match.groups()[2]) try: # Support for python3 # raw_input only exists in py2 and was renamed to input in py3 global input input = raw_input except NameError: pass try: while True: output(u"\nEnter new values or accept defaults in brackets with Enter.") output(u"Refer to user manual for detailed description of all options.") for option in options: prompt = option[1] ## Option-specific handling if option[0] == 'proxy_host' and getattr(cfg, 'use_https') == True and sys.hexversion < 0x02070000: setattr(cfg, option[0], "") continue if option[0] == 'proxy_port' and getattr(cfg, 'proxy_host') == "": setattr(cfg, option[0], 0) continue try: val = getattr(cfg, option[0]) if type(val) is bool: val = val and "Yes" or "No" if val not in (None, ""): prompt += " [%s]" % val except AttributeError: pass if len(option) >= 3: output(u"\n%s" % option[2]) val = unicodise_s(input(prompt + ": ")) if val != "": if type(getattr(cfg, option[0])) is bool: # Turn 'Yes' into True, everything else into False val = val.lower().startswith('y') setattr(cfg, option[0], val) output(u"\nNew settings:") for option in options: output(u" %s: %s" % (option[1], getattr(cfg, option[0]))) val = input("\nTest access with supplied credentials? [Y/n] ") if val.lower().startswith("y") or val == "": try: # Default, we try to list 'all' buckets which requires # ListAllMyBuckets permission if len(args) == 0: output(u"Please wait, attempting to list all buckets...") S3(Config()).bucket_list("", "") else: # If user specified a bucket name directly, we check it and only it. # Thus, access check can succeed even if user only has access to # to a single bucket and not ListAllMyBuckets permission. output(u"Please wait, attempting to list bucket: " + args[0]) uri = S3Uri(args[0]) if uri.type == "s3" and uri.has_bucket(): S3(Config()).bucket_list(uri.bucket(), "") else: raise Exception(u"Invalid bucket uri: " + args[0]) output(u"Success. Your access key and secret key worked fine :-)") output(u"\nNow verifying that encryption works...") if not getattr(cfg, "gpg_command") or not getattr(cfg, "gpg_passphrase"): output(u"Not configured. Never mind.") else: if not getattr(cfg, "gpg_command"): raise Exception("Path to GPG program not set") if not os.path.isfile(deunicodise(getattr(cfg, "gpg_command"))): raise Exception("GPG program not found") filename = Utils.mktmpfile() with open(deunicodise(filename), "w") as fp: fp.write(os.sys.copyright) ret_enc = gpg_encrypt(filename) ret_dec = gpg_decrypt(ret_enc[1], ret_enc[2], False) hash = [ Utils.hash_file_md5(filename), Utils.hash_file_md5(ret_enc[1]), Utils.hash_file_md5(ret_dec[1]), ] os.unlink(deunicodise(filename)) os.unlink(deunicodise(ret_enc[1])) os.unlink(deunicodise(ret_dec[1])) if hash[0] == hash[2] and hash[0] != hash[1]: output(u"Success. Encryption and decryption worked fine :-)") else: raise Exception("Encryption verification error.") except S3Error as e: error(u"Test failed: %s" % (e)) if e.code == "AccessDenied": error(u"Are you sure your keys have s3:ListAllMyBuckets permissions?") val = input("\nRetry configuration? [Y/n] ") if val.lower().startswith("y") or val == "": continue except Exception as e: error(u"Test failed: %s" % (e)) val = input("\nRetry configuration? [Y/n] ") if val.lower().startswith("y") or val == "": continue val = input("\nSave settings? [y/N] ") if val.lower().startswith("y"): break val = input("Retry configuration? [Y/n] ") if val.lower().startswith("n"): raise EOFError() ## Overwrite existing config file, make it user-readable only old_mask = os.umask(0o077) try: os.remove(deunicodise(config_file)) except OSError as e: if e.errno != errno.ENOENT: raise try: with io.open(deunicodise(config_file), "w", encoding=cfg.encoding) as fp: cfg.dump_config(fp) finally: os.umask(old_mask) output(u"Configuration saved to '%s'" % config_file) except (EOFError, KeyboardInterrupt): output(u"\nConfiguration aborted. Changes were NOT saved.") return except IOError as e: error(u"Writing config file failed: %s: %s" % (config_file, e.strerror)) sys.exit(EX_IOERR) def process_patterns_from_file(fname, patterns_list): try: with open(deunicodise(fname), "rt") as fn: for pattern in fn: pattern = unicodise(pattern).strip() if re.match("^#", pattern) or re.match(r"^\s*$", pattern): continue debug(u"%s: adding rule: %s" % (fname, pattern)) patterns_list.append(pattern) except IOError as e: error(e) sys.exit(EX_IOERR) return patterns_list def process_patterns(patterns_list, patterns_from, is_glob, option_txt = ""): r""" process_patterns(patterns, patterns_from, is_glob, option_txt = "") Process --exclude / --include GLOB and REGEXP patterns. 'option_txt' is 'exclude' / 'include' / 'rexclude' / 'rinclude' Returns: patterns_compiled, patterns_text Note: process_patterns_from_file will ignore lines starting with # as these are comments. To target escape the initial #, to use it in a file name, one can use: "[#]" (for exclude) or "\#" (for rexclude). """ patterns_compiled = [] patterns_textual = {} if patterns_list is None: patterns_list = [] if patterns_from: ## Append patterns from glob_from for fname in patterns_from: debug(u"processing --%s-from %s" % (option_txt, fname)) patterns_list = process_patterns_from_file(fname, patterns_list) for pattern in patterns_list: debug(u"processing %s rule: %s" % (option_txt, patterns_list)) if is_glob: pattern = glob.fnmatch.translate(pattern) r = re.compile(pattern) patterns_compiled.append(r) patterns_textual[r] = pattern return patterns_compiled, patterns_textual def get_commands_list(): return [ {"cmd":"mb", "label":"Make bucket", "param":"s3://BUCKET", "func":cmd_bucket_create, "argc":1}, {"cmd":"rb", "label":"Remove bucket", "param":"s3://BUCKET", "func":cmd_bucket_delete, "argc":1}, {"cmd":"ls", "label":"List objects or buckets", "param":"[s3://BUCKET[/PREFIX]]", "func":cmd_ls, "argc":0}, {"cmd":"la", "label":"List all object in all buckets", "param":"", "func":cmd_all_buckets_list_all_content, "argc":0}, {"cmd":"put", "label":"Put file into bucket", "param":"FILE [FILE...] s3://BUCKET[/PREFIX]", "func":cmd_object_put, "argc":2}, {"cmd":"get", "label":"Get file from bucket", "param":"s3://BUCKET/OBJECT LOCAL_FILE", "func":cmd_object_get, "argc":1}, {"cmd":"del", "label":"Delete file from bucket", "param":"s3://BUCKET/OBJECT", "func":cmd_object_del, "argc":1}, {"cmd":"rm", "label":"Delete file from bucket (alias for del)", "param":"s3://BUCKET/OBJECT", "func":cmd_object_del, "argc":1}, #{"cmd":"mkdir", "label":"Make a virtual S3 directory", "param":"s3://BUCKET/path/to/dir", "func":cmd_mkdir, "argc":1}, {"cmd":"restore", "label":"Restore file from Glacier storage", "param":"s3://BUCKET/OBJECT", "func":cmd_object_restore, "argc":1}, {"cmd":"sync", "label":"Synchronize a directory tree to S3 (checks files freshness using size and md5 checksum, unless overridden by options, see below)", "param":"LOCAL_DIR s3://BUCKET[/PREFIX] or s3://BUCKET[/PREFIX] LOCAL_DIR or s3://BUCKET[/PREFIX] s3://BUCKET[/PREFIX]", "func":cmd_sync, "argc":2}, {"cmd":"du", "label":"Disk usage by buckets", "param":"[s3://BUCKET[/PREFIX]]", "func":cmd_du, "argc":0}, {"cmd":"info", "label":"Get various information about Buckets or Files", "param":"s3://BUCKET[/OBJECT]", "func":cmd_info, "argc":1}, {"cmd":"cp", "label":"Copy object", "param":"s3://BUCKET1/OBJECT1 s3://BUCKET2[/OBJECT2]", "func":cmd_cp, "argc":2}, {"cmd":"modify", "label":"Modify object metadata", "param":"s3://BUCKET1/OBJECT", "func":cmd_modify, "argc":1}, {"cmd":"mv", "label":"Move object", "param":"s3://BUCKET1/OBJECT1 s3://BUCKET2[/OBJECT2]", "func":cmd_mv, "argc":2}, {"cmd":"setacl", "label":"Modify Access control list for Bucket or Files", "param":"s3://BUCKET[/OBJECT]", "func":cmd_setacl, "argc":1}, {"cmd":"setpolicy", "label":"Modify Bucket Policy", "param":"FILE s3://BUCKET", "func":cmd_setpolicy, "argc":2}, {"cmd":"delpolicy", "label":"Delete Bucket Policy", "param":"s3://BUCKET", "func":cmd_delpolicy, "argc":1}, {"cmd":"setcors", "label":"Modify Bucket CORS", "param":"FILE s3://BUCKET", "func":cmd_setcors, "argc":2}, {"cmd":"delcors", "label":"Delete Bucket CORS", "param":"s3://BUCKET", "func":cmd_delcors, "argc":1}, {"cmd":"payer", "label":"Modify Bucket Requester Pays policy", "param":"s3://BUCKET", "func":cmd_set_payer, "argc":1}, {"cmd":"multipart", "label":"Show multipart uploads", "param":"s3://BUCKET [Id]", "func":cmd_multipart, "argc":1}, {"cmd":"abortmp", "label":"Abort a multipart upload", "param":"s3://BUCKET/OBJECT Id", "func":cmd_abort_multipart, "argc":2}, {"cmd":"listmp", "label":"List parts of a multipart upload", "param":"s3://BUCKET/OBJECT Id", "func":cmd_list_multipart, "argc":2}, {"cmd":"accesslog", "label":"Enable/disable bucket access logging", "param":"s3://BUCKET", "func":cmd_accesslog, "argc":1}, {"cmd":"sign", "label":"Sign arbitrary string using the secret key", "param":"STRING-TO-SIGN", "func":cmd_sign, "argc":1}, {"cmd":"signurl", "label":"Sign an S3 URL to provide limited public access with expiry", "param":"s3://BUCKET/OBJECT <expiry_epoch|+expiry_offset>", "func":cmd_signurl, "argc":2}, {"cmd":"fixbucket", "label":"Fix invalid file names in a bucket", "param":"s3://BUCKET[/PREFIX]", "func":cmd_fixbucket, "argc":1}, ## Website commands {"cmd":"ws-create", "label":"Create Website from bucket", "param":"s3://BUCKET", "func":cmd_website_create, "argc":1}, {"cmd":"ws-delete", "label":"Delete Website", "param":"s3://BUCKET", "func":cmd_website_delete, "argc":1}, {"cmd":"ws-info", "label":"Info about Website", "param":"s3://BUCKET", "func":cmd_website_info, "argc":1}, ## Lifecycle commands {"cmd":"expire", "label":"Set or delete expiration rule for the bucket", "param":"s3://BUCKET", "func":cmd_expiration_set, "argc":1}, {"cmd":"setlifecycle", "label":"Upload a lifecycle policy for the bucket", "param":"FILE s3://BUCKET", "func":cmd_setlifecycle, "argc":2}, {"cmd":"getlifecycle", "label":"Get a lifecycle policy for the bucket", "param":"s3://BUCKET", "func":cmd_getlifecycle, "argc":1}, {"cmd":"dellifecycle", "label":"Remove a lifecycle policy for the bucket", "param":"s3://BUCKET", "func":cmd_dellifecycle, "argc":1}, ## CloudFront commands {"cmd":"cflist", "label":"List CloudFront distribution points", "param":"", "func":CfCmd.info, "argc":0}, {"cmd":"cfinfo", "label":"Display CloudFront distribution point parameters", "param":"[cf://DIST_ID]", "func":CfCmd.info, "argc":0}, {"cmd":"cfcreate", "label":"Create CloudFront distribution point", "param":"s3://BUCKET", "func":CfCmd.create, "argc":1}, {"cmd":"cfdelete", "label":"Delete CloudFront distribution point", "param":"cf://DIST_ID", "func":CfCmd.delete, "argc":1}, {"cmd":"cfmodify", "label":"Change CloudFront distribution point parameters", "param":"cf://DIST_ID", "func":CfCmd.modify, "argc":1}, #{"cmd":"cfinval", "label":"Invalidate CloudFront objects", "param":"s3://BUCKET/OBJECT [s3://BUCKET/OBJECT ...]", "func":CfCmd.invalidate, "argc":1}, {"cmd":"cfinvalinfo", "label":"Display CloudFront invalidation request(s) status", "param":"cf://DIST_ID[/INVAL_ID]", "func":CfCmd.invalinfo, "argc":1}, ] def format_commands(progname, commands_list): help = "Commands:\n" for cmd in commands_list: help += " %s\n %s %s %s\n" % (cmd["label"], progname, cmd["cmd"], cmd["param"]) return help def update_acl(s3, uri, seq_label=""): cfg = Config() something_changed = False acl = s3.get_acl(uri) debug(u"acl: %s - %r" % (uri, acl.grantees)) if cfg.acl_public == True: if acl.isAnonRead(): info(u"%s: already Public, skipping %s" % (uri, seq_label)) else: acl.grantAnonRead() something_changed = True elif cfg.acl_public == False: # we explicitely check for False, because it could be None if not acl.isAnonRead() and not acl.isAnonWrite(): info(u"%s: already Private, skipping %s" % (uri, seq_label)) else: acl.revokeAnonRead() acl.revokeAnonWrite() something_changed = True # update acl with arguments # grant first and revoke later, because revoke has priority if cfg.acl_grants: something_changed = True for grant in cfg.acl_grants: acl.grant(**grant) if cfg.acl_revokes: something_changed = True for revoke in cfg.acl_revokes: acl.revoke(**revoke) if not something_changed: return retsponse = s3.set_acl(uri, acl) if retsponse['status'] == 200: if cfg.acl_public in (True, False): set_to_acl = cfg.acl_public and "Public" or "Private" output(u"%s: ACL set to %s %s" % (uri, set_to_acl, seq_label)) else: output(u"%s: ACL updated" % uri) class OptionMimeType(Option): def check_mimetype(self, opt, value): if re.compile(r"^[a-z0-9]+/[a-z0-9+\.-]+(;.*)?$", re.IGNORECASE).match(value): return value raise OptionValueError("option %s: invalid MIME-Type format: %r" % (opt, value)) class OptionS3ACL(Option): def check_s3acl(self, opt, value): permissions = ('read', 'write', 'read_acp', 'write_acp', 'full_control', 'all') try: permission, grantee = re.compile(r"^(\w+):(.+)$", re.IGNORECASE).match(value).groups() if not permission or not grantee: raise OptionValueError("option %s: invalid S3 ACL format: %r" % (opt, value)) if permission in permissions: return { 'name' : grantee, 'permission' : permission.upper() } else: raise OptionValueError("option %s: invalid S3 ACL permission: %s (valid values: %s)" % (opt, permission, ", ".join(permissions))) except OptionValueError: raise except Exception: raise OptionValueError("option %s: invalid S3 ACL format: %r" % (opt, value)) class OptionAll(OptionMimeType, OptionS3ACL): TYPE_CHECKER = copy(Option.TYPE_CHECKER) TYPE_CHECKER["mimetype"] = OptionMimeType.check_mimetype TYPE_CHECKER["s3acl"] = OptionS3ACL.check_s3acl TYPES = Option.TYPES + ("mimetype", "s3acl") class MyHelpFormatter(IndentedHelpFormatter): def format_epilog(self, epilog): if epilog: return "\n" + epilog + "\n" else: return "" def main(): cfg = Config() commands_list = get_commands_list() commands = {} ## Populate "commands" from "commands_list" for cmd in commands_list: if 'cmd' in cmd: commands[cmd['cmd']] = cmd optparser = OptionParser(option_class=OptionAll, formatter=MyHelpFormatter()) #optparser.disable_interspersed_args() autodetected_encoding = locale.getpreferredencoding() or "UTF-8" config_file = None if os.getenv("S3CMD_CONFIG"): config_file = unicodise_s(os.getenv("S3CMD_CONFIG"), autodetected_encoding) elif os.name == "nt" and os.getenv("USERPROFILE"): config_file = os.path.join( unicodise_s(os.getenv("USERPROFILE"), autodetected_encoding), os.getenv("APPDATA") and unicodise_s(os.getenv("APPDATA"), autodetected_encoding) or 'Application Data', "s3cmd.ini") else: from os.path import expanduser config_file = os.path.join(expanduser("~"), ".s3cfg") optparser.set_defaults(config = config_file) optparser.add_option( "--configure", dest="run_configure", action="store_true", help="Invoke interactive (re)configuration tool. Optionally use as '--configure s3://some-bucket' to test access to a specific bucket instead of attempting to list them all.") optparser.add_option("-c", "--config", dest="config", metavar="FILE", help="Config file name. Defaults to $HOME/.s3cfg") optparser.add_option( "--dump-config", dest="dump_config", action="store_true", help="Dump current configuration after parsing config files and command line options and exit.") optparser.add_option( "--access_key", dest="access_key", help="AWS Access Key") optparser.add_option( "--secret_key", dest="secret_key", help="AWS Secret Key") optparser.add_option( "--access_token", dest="access_token", help="AWS Access Token") optparser.add_option("-n", "--dry-run", dest="dry_run", action="store_true", help="Only show what should be uploaded or downloaded but don't actually do it. May still perform S3 requests to get bucket listings and other information though (only for file transfer commands)") optparser.add_option("-s", "--ssl", dest="use_https", action="store_true", help="Use HTTPS connection when communicating with S3. (default)") optparser.add_option( "--no-ssl", dest="use_https", action="store_false", help="Don't use HTTPS.") optparser.add_option("-e", "--encrypt", dest="encrypt", action="store_true", help="Encrypt files before uploading to S3.") optparser.add_option( "--no-encrypt", dest="encrypt", action="store_false", help="Don't encrypt files.") optparser.add_option("-f", "--force", dest="force", action="store_true", help="Force overwrite and other dangerous operations.") optparser.add_option( "--continue", dest="get_continue", action="store_true", help="Continue getting a partially downloaded file (only for [get] command).") optparser.add_option( "--continue-put", dest="put_continue", action="store_true", help="Continue uploading partially uploaded files or multipart upload parts. Restarts parts/files that don't have matching size and md5. Skips files/parts that do. Note: md5sum checks are not always sufficient to check (part) file equality. Enable this at your own risk.") optparser.add_option( "--upload-id", dest="upload_id", help="UploadId for Multipart Upload, in case you want continue an existing upload (equivalent to --continue-put) and there are multiple partial uploads. Use s3cmd multipart [URI] to see what UploadIds are associated with the given URI.") optparser.add_option( "--skip-existing", dest="skip_existing", action="store_true", help="Skip over files that exist at the destination (only for [get] and [sync] commands).") optparser.add_option("-r", "--recursive", dest="recursive", action="store_true", help="Recursive upload, download or removal.") optparser.add_option( "--check-md5", dest="check_md5", action="store_true", help="Check MD5 sums when comparing files for [sync]. (default)") optparser.add_option( "--no-check-md5", dest="check_md5", action="store_false", help="Do not check MD5 sums when comparing files for [sync]. Only size will be compared. May significantly speed up transfer but may also miss some changed files.") optparser.add_option("-P", "--acl-public", dest="acl_public", action="store_true", help="Store objects with ACL allowing read for anyone.") optparser.add_option( "--acl-private", dest="acl_public", action="store_false", help="Store objects with default ACL allowing access for you only.") optparser.add_option( "--acl-grant", dest="acl_grants", type="s3acl", action="append", metavar="PERMISSION:EMAIL or USER_CANONICAL_ID", help="Grant stated permission to a given amazon user. Permission is one of: read, write, read_acp, write_acp, full_control, all") optparser.add_option( "--acl-revoke", dest="acl_revokes", type="s3acl", action="append", metavar="PERMISSION:USER_CANONICAL_ID", help="Revoke stated permission for a given amazon user. Permission is one of: read, write, read_acp, write_acp, full_control, all") optparser.add_option("-D", "--restore-days", dest="restore_days", action="store", help="Number of days to keep restored file available (only for 'restore' command). Default is 1 day.", metavar="NUM") optparser.add_option( "--restore-priority", dest="restore_priority", action="store", choices=['standard', 'expedited', 'bulk'], help="Priority for restoring files from S3 Glacier (only for 'restore' command). Choices available: bulk, standard, expedited") optparser.add_option( "--delete-removed", dest="delete_removed", action="store_true", help="Delete destination objects with no corresponding source file [sync]") optparser.add_option( "--no-delete-removed", dest="delete_removed", action="store_false", help="Don't delete destination objects [sync]") optparser.add_option( "--delete-after", dest="delete_after", action="store_true", help="Perform deletes AFTER new uploads when delete-removed is enabled [sync]") optparser.add_option( "--delay-updates", dest="delay_updates", action="store_true", help="*OBSOLETE* Put all updated files into place at end [sync]") # OBSOLETE optparser.add_option( "--max-delete", dest="max_delete", action="store", help="Do not delete more than NUM files. [del] and [sync]", metavar="NUM") optparser.add_option( "--limit", dest="limit", action="store", help="Limit number of objects returned in the response body (only for [ls] and [la] commands)", metavar="NUM") optparser.add_option( "--add-destination", dest="additional_destinations", action="append", help="Additional destination for parallel uploads, in addition to last arg. May be repeated.") optparser.add_option( "--delete-after-fetch", dest="delete_after_fetch", action="store_true", help="Delete remote objects after fetching to local file (only for [get] and [sync] commands).") optparser.add_option("-p", "--preserve", dest="preserve_attrs", action="store_true", help="Preserve filesystem attributes (mode, ownership, timestamps). Default for [sync] command.") optparser.add_option( "--no-preserve", dest="preserve_attrs", action="store_false", help="Don't store FS attributes") optparser.add_option( "--exclude", dest="exclude", action="append", metavar="GLOB", help="Filenames and paths matching GLOB will be excluded from sync") optparser.add_option( "--exclude-from", dest="exclude_from", action="append", metavar="FILE", help="Read --exclude GLOBs from FILE") optparser.add_option( "--rexclude", dest="rexclude", action="append", metavar="REGEXP", help="Filenames and paths matching REGEXP (regular expression) will be excluded from sync") optparser.add_option( "--rexclude-from", dest="rexclude_from", action="append", metavar="FILE", help="Read --rexclude REGEXPs from FILE") optparser.add_option( "--include", dest="include", action="append", metavar="GLOB", help="Filenames and paths matching GLOB will be included even if previously excluded by one of --(r)exclude(-from) patterns") optparser.add_option( "--include-from", dest="include_from", action="append", metavar="FILE", help="Read --include GLOBs from FILE") optparser.add_option( "--rinclude", dest="rinclude", action="append", metavar="REGEXP", help="Same as --include but uses REGEXP (regular expression) instead of GLOB") optparser.add_option( "--rinclude-from", dest="rinclude_from", action="append", metavar="FILE", help="Read --rinclude REGEXPs from FILE") optparser.add_option( "--files-from", dest="files_from", action="append", metavar="FILE", help="Read list of source-file names from FILE. Use - to read from stdin.") optparser.add_option( "--region", "--bucket-location", metavar="REGION", dest="bucket_location", help="Region to create bucket in. As of now the regions are: us-east-1, us-west-1, us-west-2, eu-west-1, eu-central-1, ap-northeast-1, ap-southeast-1, ap-southeast-2, sa-east-1") optparser.add_option( "--host", metavar="HOSTNAME", dest="host_base", help="HOSTNAME:PORT for S3 endpoint (default: %s, alternatives such as s3-eu-west-1.amazonaws.com). You should also set --host-bucket." % (cfg.host_base)) optparser.add_option( "--host-bucket", dest="host_bucket", help="DNS-style bucket+hostname:port template for accessing a bucket (default: %s)" % (cfg.host_bucket)) optparser.add_option( "--reduced-redundancy", "--rr", dest="reduced_redundancy", action="store_true", help="Store object with 'Reduced redundancy'. Lower per-GB price. [put, cp, mv]") optparser.add_option( "--no-reduced-redundancy", "--no-rr", dest="reduced_redundancy", action="store_false", help="Store object without 'Reduced redundancy'. Higher per-GB price. [put, cp, mv]") optparser.add_option( "--storage-class", dest="storage_class", action="store", metavar="CLASS", help="Store object with specified CLASS (STANDARD, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER or DEEP_ARCHIVE). [put, cp, mv]") optparser.add_option( "--access-logging-target-prefix", dest="log_target_prefix", help="Target prefix for access logs (S3 URI) (for [cfmodify] and [accesslog] commands)") optparser.add_option( "--no-access-logging", dest="log_target_prefix", action="store_false", help="Disable access logging (for [cfmodify] and [accesslog] commands)") optparser.add_option( "--default-mime-type", dest="default_mime_type", type="mimetype", action="store", help="Default MIME-type for stored objects. Application default is binary/octet-stream.") optparser.add_option("-M", "--guess-mime-type", dest="guess_mime_type", action="store_true", help="Guess MIME-type of files by their extension or mime magic. Fall back to default MIME-Type as specified by --default-mime-type option") optparser.add_option( "--no-guess-mime-type", dest="guess_mime_type", action="store_false", help="Don't guess MIME-type and use the default type instead.") optparser.add_option( "--no-mime-magic", dest="use_mime_magic", action="store_false", help="Don't use mime magic when guessing MIME-type.") optparser.add_option("-m", "--mime-type", dest="mime_type", type="mimetype", metavar="MIME/TYPE", help="Force MIME-type. Override both --default-mime-type and --guess-mime-type.") optparser.add_option( "--add-header", dest="add_header", action="append", metavar="NAME:VALUE", help="Add a given HTTP header to the upload request. Can be used multiple times. For instance set 'Expires' or 'Cache-Control' headers (or both) using this option.") optparser.add_option( "--remove-header", dest="remove_headers", action="append", metavar="NAME", help="Remove a given HTTP header. Can be used multiple times. For instance, remove 'Expires' or 'Cache-Control' headers (or both) using this option. [modify]") optparser.add_option( "--server-side-encryption", dest="server_side_encryption", action="store_true", help="Specifies that server-side encryption will be used when putting objects. [put, sync, cp, modify]") optparser.add_option( "--server-side-encryption-kms-id", dest="kms_key", action="store", help="Specifies the key id used for server-side encryption with AWS KMS-Managed Keys (SSE-KMS) when putting objects. [put, sync, cp, modify]") optparser.add_option( "--encoding", dest="encoding", metavar="ENCODING", help="Override autodetected terminal and filesystem encoding (character set). Autodetected: %s" % autodetected_encoding) optparser.add_option( "--add-encoding-exts", dest="add_encoding_exts", metavar="EXTENSIONs", help="Add encoding to these comma delimited extensions i.e. (css,js,html) when uploading to S3 )") optparser.add_option( "--verbatim", dest="urlencoding_mode", action="store_const", const="verbatim", help="Use the S3 name as given on the command line. No pre-processing, encoding, etc. Use with caution!") optparser.add_option( "--disable-multipart", dest="enable_multipart", action="store_false", help="Disable multipart upload on files bigger than --multipart-chunk-size-mb") optparser.add_option( "--multipart-chunk-size-mb", dest="multipart_chunk_size_mb", type="int", action="store", metavar="SIZE", help="Size of each chunk of a multipart upload. Files bigger than SIZE are automatically uploaded as multithreaded-multipart, smaller files are uploaded using the traditional method. SIZE is in Mega-Bytes, default chunk size is 15MB, minimum allowed chunk size is 5MB, maximum is 5GB.") optparser.add_option( "--list-md5", dest="list_md5", action="store_true", help="Include MD5 sums in bucket listings (only for 'ls' command).") optparser.add_option("-H", "--human-readable-sizes", dest="human_readable_sizes", action="store_true", help="Print sizes in human readable form (eg 1kB instead of 1234).") optparser.add_option( "--ws-index", dest="website_index", action="store", help="Name of index-document (only for [ws-create] command)") optparser.add_option( "--ws-error", dest="website_error", action="store", help="Name of error-document (only for [ws-create] command)") optparser.add_option( "--expiry-date", dest="expiry_date", action="store", help="Indicates when the expiration rule takes effect. (only for [expire] command)") optparser.add_option( "--expiry-days", dest="expiry_days", action="store", help="Indicates the number of days after object creation the expiration rule takes effect. (only for [expire] command)") optparser.add_option( "--expiry-prefix", dest="expiry_prefix", action="store", help="Identifying one or more objects with the prefix to which the expiration rule applies. (only for [expire] command)") optparser.add_option( "--progress", dest="progress_meter", action="store_true", help="Display progress meter (default on TTY).") optparser.add_option( "--no-progress", dest="progress_meter", action="store_false", help="Don't display progress meter (default on non-TTY).") optparser.add_option( "--stats", dest="stats", action="store_true", help="Give some file-transfer stats.") optparser.add_option( "--enable", dest="enable", action="store_true", help="Enable given CloudFront distribution (only for [cfmodify] command)") optparser.add_option( "--disable", dest="enable", action="store_false", help="Disable given CloudFront distribution (only for [cfmodify] command)") optparser.add_option( "--cf-invalidate", dest="invalidate_on_cf", action="store_true", help="Invalidate the uploaded filed in CloudFront. Also see [cfinval] command.") # joseprio: adding options to invalidate the default index and the default # index root optparser.add_option( "--cf-invalidate-default-index", dest="invalidate_default_index_on_cf", action="store_true", help="When using Custom Origin and S3 static website, invalidate the default index file.") optparser.add_option( "--cf-no-invalidate-default-index-root", dest="invalidate_default_index_root_on_cf", action="store_false", help="When using Custom Origin and S3 static website, don't invalidate the path to the default index file.") optparser.add_option( "--cf-add-cname", dest="cf_cnames_add", action="append", metavar="CNAME", help="Add given CNAME to a CloudFront distribution (only for [cfcreate] and [cfmodify] commands)") optparser.add_option( "--cf-remove-cname", dest="cf_cnames_remove", action="append", metavar="CNAME", help="Remove given CNAME from a CloudFront distribution (only for [cfmodify] command)") optparser.add_option( "--cf-comment", dest="cf_comment", action="store", metavar="COMMENT", help="Set COMMENT for a given CloudFront distribution (only for [cfcreate] and [cfmodify] commands)") optparser.add_option( "--cf-default-root-object", dest="cf_default_root_object", action="store", metavar="DEFAULT_ROOT_OBJECT", help="Set the default root object to return when no object is specified in the URL. Use a relative path, i.e. default/index.html instead of /default/index.html or s3://bucket/default/index.html (only for [cfcreate] and [cfmodify] commands)") optparser.add_option("-v", "--verbose", dest="verbosity", action="store_const", const=logging.INFO, help="Enable verbose output.") optparser.add_option("-d", "--debug", dest="verbosity", action="store_const", const=logging.DEBUG, help="Enable debug output.") optparser.add_option( "--version", dest="show_version", action="store_true", help="Show s3cmd version (%s) and exit." % (PkgInfo.version)) optparser.add_option("-F", "--follow-symlinks", dest="follow_symlinks", action="store_true", default=False, help="Follow symbolic links as if they are regular files") optparser.add_option( "--cache-file", dest="cache_file", action="store", default="", metavar="FILE", help="Cache FILE containing local source MD5 values") optparser.add_option("-q", "--quiet", dest="quiet", action="store_true", default=False, help="Silence output on stdout") optparser.add_option( "--ca-certs", dest="ca_certs_file", action="store", default=None, help="Path to SSL CA certificate FILE (instead of system default)") optparser.add_option( "--ssl-cert", dest="ssl_client_cert_file", action="store", default=None, help="Path to client own SSL certificate CRT_FILE") optparser.add_option( "--ssl-key", dest="ssl_client_key_file", action="store", default=None, help="Path to client own SSL certificate private key KEY_FILE") optparser.add_option( "--check-certificate", dest="check_ssl_certificate", action="store_true", help="Check SSL certificate validity") optparser.add_option( "--no-check-certificate", dest="check_ssl_certificate", action="store_false", help="Do not check SSL certificate validity") optparser.add_option( "--check-hostname", dest="check_ssl_hostname", action="store_true", help="Check SSL certificate hostname validity") optparser.add_option( "--no-check-hostname", dest="check_ssl_hostname", action="store_false", help="Do not check SSL certificate hostname validity") optparser.add_option( "--signature-v2", dest="signature_v2", action="store_true", help="Use AWS Signature version 2 instead of newer signature methods. Helpful for S3-like systems that don't have AWS Signature v4 yet.") optparser.add_option( "--limit-rate", dest="limitrate", action="store", type="string", help="Limit the upload or download speed to amount bytes per second. Amount may be expressed in bytes, kilobytes with the k suffix, or megabytes with the m suffix") optparser.add_option( "--no-connection-pooling", dest="connection_pooling", action="store_false", help="Disable connection re-use") optparser.add_option( "--requester-pays", dest="requester_pays", action="store_true", help="Set the REQUESTER PAYS flag for operations") optparser.add_option("-l", "--long-listing", dest="long_listing", action="store_true", help="Produce long listing [ls]") optparser.add_option( "--stop-on-error", dest="stop_on_error", action="store_true", help="stop if error in transfer") optparser.add_option( "--content-disposition", dest="content_disposition", action="store", help="Provide a Content-Disposition for signed URLs, e.g., \"inline; filename=myvideo.mp4\"") optparser.add_option( "--content-type", dest="content_type", action="store", help="Provide a Content-Type for signed URLs, e.g., \"video/mp4\"") optparser.set_usage(optparser.usage + " COMMAND [parameters]") optparser.set_description('S3cmd is a tool for managing objects in '+ 'Amazon S3 storage. It allows for making and removing '+ '"buckets" and uploading, downloading and removing '+ '"objects" from these buckets.') optparser.epilog = format_commands(optparser.get_prog_name(), commands_list) optparser.epilog += ("\nFor more information, updates and news, visit the s3cmd website:\n%s\n" % PkgInfo.url) (options, args) = optparser.parse_args() ## Some mucking with logging levels to enable ## debugging/verbose output for config file parser on request logging.basicConfig(level=options.verbosity or Config().verbosity, format='%(levelname)s: %(message)s', stream = sys.stderr) if options.show_version: output(u"s3cmd version %s" % PkgInfo.version) sys.exit(EX_OK) debug(u"s3cmd version %s" % PkgInfo.version) if options.quiet: try: f = open("/dev/null", "w") sys.stdout = f except IOError: warning(u"Unable to open /dev/null: --quiet disabled.") ## Now finally parse the config file if not options.config: error(u"Can't find a config file. Please use --config option.") sys.exit(EX_CONFIG) try: cfg = Config(options.config, options.access_key, options.secret_key, options.access_token) except ValueError as exc: raise ParameterError(unicode(exc)) except IOError as e: if options.run_configure: cfg = Config() else: error(u"%s: %s" % (options.config, e.strerror)) error(u"Configuration file not available.") error(u"Consider using --configure parameter to create one.") sys.exit(EX_CONFIG) # allow commandline verbosity config to override config file if options.verbosity is not None: cfg.verbosity = options.verbosity logging.root.setLevel(cfg.verbosity) ## Unsupported features on Win32 platform if os.name == "nt": if cfg.preserve_attrs: error(u"Option --preserve is not yet supported on MS Windows platform. Assuming --no-preserve.") cfg.preserve_attrs = False if cfg.progress_meter: error(u"Option --progress is not yet supported on MS Windows platform. Assuming --no-progress.") cfg.progress_meter = False ## Pre-process --add-header's and put them to Config.extra_headers SortedDict() if options.add_header: for hdr in options.add_header: try: key, val = unicodise_s(hdr).split(":", 1) except ValueError: raise ParameterError("Invalid header format: %s" % unicodise_s(hdr)) # key char restrictions of the http headers name specification key_inval = re.sub(r"[a-zA-Z0-9\-.!#$%&*+^_|]", "", key) if key_inval: key_inval = key_inval.replace(" ", "<space>") key_inval = key_inval.replace("\t", "<tab>") raise ParameterError("Invalid character(s) in header name '%s'" ": \"%s\"" % (key, key_inval)) debug(u"Updating Config.Config extra_headers[%s] -> %s" % (key.strip().lower(), val.strip())) cfg.extra_headers[key.strip().lower()] = val.strip() # Process --remove-header if options.remove_headers: cfg.remove_headers = options.remove_headers ## --acl-grant/--acl-revoke arguments are pre-parsed by OptionS3ACL() if options.acl_grants: for grant in options.acl_grants: cfg.acl_grants.append(grant) if options.acl_revokes: for grant in options.acl_revokes: cfg.acl_revokes.append(grant) ## Process --(no-)check-md5 if options.check_md5 == False: if "md5" in cfg.sync_checks: cfg.sync_checks.remove("md5") if "md5" in cfg.preserve_attrs_list: cfg.preserve_attrs_list.remove("md5") elif options.check_md5 == True: if "md5" not in cfg.sync_checks: cfg.sync_checks.append("md5") if "md5" not in cfg.preserve_attrs_list: cfg.preserve_attrs_list.append("md5") ## Update Config with other parameters for option in cfg.option_list(): try: value = getattr(options, option) if value != None: if type(value) == type(b''): value = unicodise_s(value) debug(u"Updating Config.Config %s -> %s" % (option, value)) cfg.update_option(option, value) except AttributeError: ## Some Config() options are not settable from command line pass ## Special handling for tri-state options (True, False, None) cfg.update_option("enable", options.enable) if options.acl_public is not None: cfg.update_option("acl_public", options.acl_public) ## Check multipart chunk constraints if cfg.multipart_chunk_size_mb < MultiPartUpload.MIN_CHUNK_SIZE_MB: raise ParameterError("Chunk size %d MB is too small, must be >= %d MB. Please adjust --multipart-chunk-size-mb" % (cfg.multipart_chunk_size_mb, MultiPartUpload.MIN_CHUNK_SIZE_MB)) if cfg.multipart_chunk_size_mb > MultiPartUpload.MAX_CHUNK_SIZE_MB: raise ParameterError("Chunk size %d MB is too large, must be <= %d MB. Please adjust --multipart-chunk-size-mb" % (cfg.multipart_chunk_size_mb, MultiPartUpload.MAX_CHUNK_SIZE_MB)) ## If an UploadId was provided, set put_continue True if options.upload_id: cfg.upload_id = options.upload_id cfg.put_continue = True if cfg.upload_id and not cfg.multipart_chunk_size_mb: raise ParameterError("Must have --multipart-chunk-size-mb if using --put-continue or --upload-id") ## CloudFront's cf_enable and Config's enable share the same --enable switch options.cf_enable = options.enable ## CloudFront's cf_logging and Config's log_target_prefix share the same --log-target-prefix switch options.cf_logging = options.log_target_prefix ## Update CloudFront options if some were set for option in CfCmd.options.option_list(): try: value = getattr(options, option) if value != None: if type(value) == type(b''): value = unicodise_s(value) if value != None: debug(u"Updating CloudFront.Cmd %s -> %s" % (option, value)) CfCmd.options.update_option(option, value) except AttributeError: ## Some CloudFront.Cmd.Options() options are not settable from command line pass if options.additional_destinations: cfg.additional_destinations = options.additional_destinations if options.files_from: cfg.files_from = options.files_from ## Set output and filesystem encoding for printing out filenames. try: # Support for python3 # That don't need codecs if output is the # encoding of the system, but just in case, still use it. # For that, we need to use directly the binary buffer # of stdout/stderr sys.stdout = codecs.getwriter(cfg.encoding)(sys.stdout.buffer, "replace") sys.stderr = codecs.getwriter(cfg.encoding)(sys.stderr.buffer, "replace") # getwriter with create an "IObuffer" that have not the encoding attribute # better to add it to not break some functions like "input". sys.stdout.encoding = cfg.encoding sys.stderr.encoding = cfg.encoding except AttributeError: sys.stdout = codecs.getwriter(cfg.encoding)(sys.stdout, "replace") sys.stderr = codecs.getwriter(cfg.encoding)(sys.stderr, "replace") ## Process --exclude and --exclude-from patterns_list, patterns_textual = process_patterns(options.exclude, options.exclude_from, is_glob = True, option_txt = "exclude") cfg.exclude.extend(patterns_list) cfg.debug_exclude.update(patterns_textual) ## Process --rexclude and --rexclude-from patterns_list, patterns_textual = process_patterns(options.rexclude, options.rexclude_from, is_glob = False, option_txt = "rexclude") cfg.exclude.extend(patterns_list) cfg.debug_exclude.update(patterns_textual) ## Process --include and --include-from patterns_list, patterns_textual = process_patterns(options.include, options.include_from, is_glob = True, option_txt = "include") cfg.include.extend(patterns_list) cfg.debug_include.update(patterns_textual) ## Process --rinclude and --rinclude-from patterns_list, patterns_textual = process_patterns(options.rinclude, options.rinclude_from, is_glob = False, option_txt = "rinclude") cfg.include.extend(patterns_list) cfg.debug_include.update(patterns_textual) ## Set socket read()/write() timeout socket.setdefaulttimeout(cfg.socket_timeout) if cfg.encrypt and cfg.gpg_passphrase == "": error(u"Encryption requested but no passphrase set in config file.") error(u"Please re-run 's3cmd --configure' and supply it.") sys.exit(EX_CONFIG) if options.dump_config: cfg.dump_config(sys.stdout) sys.exit(EX_OK) if options.run_configure: # 'args' may contain the test-bucket URI run_configure(options.config, args) sys.exit(EX_OK) ## set config if stop_on_error is set if options.stop_on_error: cfg.stop_on_error = options.stop_on_error if options.content_disposition: cfg.content_disposition = options.content_disposition if options.content_type: cfg.content_type = options.content_type if len(args) < 1: optparser.print_help() sys.exit(EX_USAGE) ## Unicodise all remaining arguments: args = [unicodise(arg) for arg in args] command = args.pop(0) try: debug(u"Command: %s" % commands[command]["cmd"]) ## We must do this lookup in extra step to ## avoid catching all KeyError exceptions ## from inner functions. cmd_func = commands[command]["func"] except KeyError as e: error(u"Invalid command: %s", command) sys.exit(EX_USAGE) if len(args) < commands[command]["argc"]: error(u"Not enough parameters for command '%s'" % command) sys.exit(EX_USAGE) rc = cmd_func(args) if rc is None: # if we missed any cmd_*() returns rc = EX_GENERAL return rc def report_exception(e, msg=u''): alert_header = u""" !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! An unexpected error has occurred. Please try reproducing the error using the latest s3cmd code from the git master branch found at: https://github.com/s3tools/s3cmd and have a look at the known issues list: https://github.com/s3tools/s3cmd/wiki/Common-known-issues-and-their-solutions-(FAQ) If the error persists, please report the %s (removing any private info as necessary) to: s3tools-bugs@lists.sourceforge.net%s !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! """ sys.stderr.write(alert_header % (u"following lines", u"\n\n" + msg)) tb = traceback.format_exc() try: s = u' '.join([unicodise(a) for a in sys.argv]) except NameError: # Error happened before Utils module was yet imported to provide # unicodise try: s = u' '.join([(a) for a in sys.argv]) except UnicodeDecodeError: s = u'[encoding safe] ' + u' '.join([('%r'%a) for a in sys.argv]) sys.stderr.write(u"Invoked as: %s\n" % s) e_class = str(e.__class__) e_class = e_class[e_class.rfind(".")+1 : -2] try: sys.stderr.write(u"Problem: %s: %s\n" % (e_class, e)) except UnicodeDecodeError: sys.stderr.write(u"Problem: [encoding safe] %r: %r\n" % (e_class, e)) try: sys.stderr.write(u"S3cmd: %s\n" % PkgInfo.version) except NameError: sys.stderr.write(u"S3cmd: unknown version." "Module import problem?\n") sys.stderr.write(u"python: %s\n" % sys.version) try: sys.stderr.write(u"environment LANG=%s\n" % unicodise_s(os.getenv("LANG", "NOTSET"), 'ascii')) except NameError: # Error happened before Utils module was yet imported to provide # unicodise sys.stderr.write(u"environment LANG=%s\n" % os.getenv("LANG", "NOTSET")) sys.stderr.write(u"\n") if type(tb) == unicode: sys.stderr.write(tb) else: sys.stderr.write(unicode(tb, errors="replace")) if type(e) == ImportError: sys.stderr.write("\n") sys.stderr.write("Your sys.path contains these entries:\n") for path in sys.path: sys.stderr.write(u"\t%s\n" % path) sys.stderr.write("Now the question is where have the s3cmd modules" " been installed?\n") sys.stderr.write(alert_header % (u"above lines", u"")) if __name__ == '__main__': try: ## Our modules ## Keep them in try/except block to ## detect any syntax errors in there from S3.ExitCodes import * from S3.Exceptions import * from S3 import PkgInfo from S3.S3 import S3 from S3.Config import Config from S3.SortedDict import SortedDict from S3.FileDict import FileDict from S3.S3Uri import S3Uri from S3 import Utils from S3 import Crypto from S3.BaseUtils import (formatDateTime, getPrettyFromXml, encode_to_s3, decode_from_s3) from S3.Utils import (formatSize, unicodise_safe, unicodise_s, unicodise, deunicodise, replace_nonprintables) from S3.Progress import Progress, StatsInfo from S3.CloudFront import Cmd as CfCmd from S3.CloudFront import CloudFront from S3.FileLists import * from S3.MultiPart import MultiPartUpload except Exception as e: report_exception(e, "Error loading some components of s3cmd (Import Error)") # 1 = EX_GENERAL but be safe in that situation sys.exit(1) try: rc = main() sys.exit(rc) except ImportError as e: report_exception(e) sys.exit(EX_GENERAL) except (ParameterError, InvalidFileError) as e: error(u"Parameter problem: %s" % e) sys.exit(EX_USAGE) except (S3DownloadError, S3UploadError, S3RequestError) as e: error(u"S3 Temporary Error: %s. Please try again later." % e) sys.exit(EX_TEMPFAIL) except S3Error as e: error(u"S3 error: %s" % e) sys.exit(e.get_error_code()) except (S3Exception, S3ResponseError, CloudFrontError) as e: report_exception(e) sys.exit(EX_SOFTWARE) except SystemExit as e: sys.exit(e.code) except KeyboardInterrupt: sys.stderr.write("See ya!\n") sys.exit(EX_BREAK) except (S3SSLError, S3SSLCertificateError) as e: # SSLError is a subtype of IOError error("SSL certificate verification failure: %s" % e) sys.exit(EX_ACCESSDENIED) except socket.gaierror as e: # gaierror is a subset of IOError # typically encountered error is: # gaierror: [Errno -2] Name or service not known error(e) error("Connection Error: Error resolving a server hostname.\n" "Please check the servers address specified in 'host_base', 'host_bucket', 'cloudfront_host', 'website_endpoint'") sys.exit(EX_IOERR) except IOError as e: if e.errno == errno.EPIPE: # Fail silently on SIGPIPE. This likely means we wrote to a closed # pipe and user does not care for any more output. sys.exit(EX_IOERR) report_exception(e) sys.exit(EX_IOERR) except OSError as e: error(e) sys.exit(EX_OSERR) except MemoryError: msg = """ MemoryError! You have exceeded the amount of memory available for this process. This usually occurs when syncing >750,000 files on a 32-bit python instance. The solutions to this are: 1) sync several smaller subtrees; or 2) use a 64-bit python on a 64-bit OS with >8GB RAM """ sys.stderr.write(msg) sys.exit(EX_OSERR) except UnicodeEncodeError as e: lang = unicodise_s(os.getenv("LANG", "NOTSET"), 'ascii') msg = """ You have encountered a UnicodeEncodeError. Your environment variable LANG=%s may not specify a Unicode encoding (e.g. UTF-8). Please set LANG=en_US.UTF-8 or similar in your environment before invoking s3cmd. """ % lang report_exception(e, msg) sys.exit(EX_GENERAL) except Exception as e: report_exception(e) sys.exit(EX_GENERAL) # vim:et:ts=4:sts=4:ai
Close