Closed mrPsycho closed 4 years ago
also, i'm trying to use native rsync protocol: $ /ffp/bin/bash /mnt/md0/Users/backuper/scripts/rsync_tmbackup.sh rsync://backup@x.y.z.20/files /home/backuper/files
and see, that it tries to check SOURCE without any actual check... so, i commented it, and it passed.
then i see this:
df: invalid option -- T
BusyBox v1.20.2 (2017-09-22 20:15:53 WEST) multi-call binary.
Usage: df [-Pkmh] [FILESYSTEM]...
Print filesystem usage statistics
-P POSIX output format
-k 1024-byte blocks (default)
-m 1M-byte blocks
-h Human readable (e.g. 1K 243M 2G)
df: invalid option -- T
BusyBox v1.20.2 (2017-09-22 20:15:53 WEST) multi-call binary.
Usage: df [-Pkmh] [FILESYSTEM]...
Print filesystem usage statistics
-P POSIX output format
-k 1024-byte blocks (default)
-m 1M-byte blocks
-h Human readable (e.g. 1K 243M 2G)
ps: invalid option -- p
BusyBox v1.20.2 (2017-09-22 20:15:53 WEST) multi-call binary.
Usage: ps [-o COL1,COL2=HEADER] [-T]
Show list of processes
-o COL1,COL2=HEADER Select columns for display
-T Show threads
ok, for me i did this:
changed:
ps -p "PID" -o command | grep "APPNAME"
to ps | grep "PID" | grep "APPNAME"
and
df -T
to simple df
, cause it can't show fs type.
and it looks like it works.
Hello!
i'm tryuong to run your script on busybox (on router with usb drive), and see this:
as i understand
-E
is a newer replacement for-r
. am i right?