View Single Post
Old 02-25-2025, 03:44 PM   #1
ZackMuc
Enthusiast
ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.ZackMuc has top level security clearance to Area 51.
 
Posts: 26
Karma: 94086
Join Date: Nov 2020
Device: Kindle Oasis
Problem with script

Hello i wrote this backup App (backup.app) to backup my explorer-3.db

Quote:
#!/bin/sh

root_dir="/mnt/ext1/system/explorer-3"
local_dir="/mnt/ext1/temp"
pwd > test.txt
ls "$root_dir" > "$local_dir"/list.txt
cp "$root_dir"/explorer-3.db "$local_dir"/explorer-3.db
/ebrmain/bin/dialog 1 "" "File copied" "OK"
exit 0
the problem is the dialog is shown but no list.txt and also no copy is happening
ZackMuc is offline   Reply With Quote