备份数据
adb backup -f 文件保存路径\xx.ab 包名
以.ab类型创建文件保存
恢复数据
adb restore 文件保存路径\xx.ab
adb backup -f 文件保存路径\xx.ab 包名
以.ab类型创建文件保存
adb restore 文件保存路径\xx.ab
唉,还是这回家这边好😃
for i in {1..15}; do
tmux split-window -h
tmux select-layout tiled
done
tmux select-pane -t 0
for i in {1..4}; do
for j in {1..4}; do
tmux split-window -v
tmux select-layout tiled
done
tmux select-pane -t $((i*4))
done
tmux attach -t 名字
tmux select-layout tiled
for i in {0..15}; do
tmux select-pane -t $i
tmux send-keys C-c # Ctrl+C
tmux send-keys Enter
done
tmux attach -t 名字
tmux attach -t 名字
tmux select-layout tiled
for i in {0..15}; do
tmux select-pane -t $i
tmux send-keys "cd 路径$((i+1))" Enter
done
tmux attach -t 名字
tmux attach -t 名字
tmux select-layout tiled
for i in {0..15}; do
tmux select-pane -t $i
tmux send-keys "python main.py" Enter
sleep 3
tmux send-keys "120" Enter
sleep 3
tmux send-keys "1" Enter
sleep 3
done
tmux attach -t 名字