Copy dir and file in storage to sd card or sd card dir and file to sd card
cp2sd --from "${dir}" --to "${sd dir}"
--from|-f
-> from dir
--to|-t
-> dest sd dir path
[Optional] --vervose-mode|-v
show vervose
cp2sd \
-f "${APP_ROOT_PATH}/ubuntu/backup/rootfs" \
-t "${SD_ROOT_DIR_PATH}/copy/bk"
cp2sd \
-f "${APP_ROOT_PATH}/ubuntu/backup/rootfs" \
-t "copy/bk"
cp2sd \
-f "${APP_DIR_PATH}/default/test.txt" \
-t "copy/bk2"
cp2sd \
-f "${APP_DIR_PATH}/default/test.txt" \
-t "copy/bk2"
mv2sd \
-f "copy/bk" \
-t "copy/bk2"
cp2sd \
-f "${SD_ROOT_DIR_PATH}/copy/bk/test.txt" \
-t "${SD_ROOT_DIR_PATH}/copy/bk2"