View Single Post
Old 11-09-2023, 05:11 AM   #4
neil_swann80
0000000000101010
neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.
 
neil_swann80's Avatar
 
Posts: 5,891
Karma: 12981955
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
If you want to move BMP images from the user to system area directly from your device you could use a script like this:

Code:
#!/bin/sh

# default directories
Logos_user=/mnt/ext1/Logos
Logos_syst=/mnt/ext1/system/logo/offlogo
media=/ebrmain/cramfs/bin/mediaexplorer.app

# Checks for image directories
if [ ! -d "$Logos_user" ]; then mkdir $Logos_user; fi
if [ ! -d "$Logos_syst" ]; then mkdir $Logos_syst; fi

# moves BMP images from user area to system
cd $Logos_user
for g in *.bmp; do
      mv "$g" $Logos_syst
done

$media "$Logos_syst"

exit 0
This would move images from /mnt/ext1/Logos to /mnt/ext1/system/logo/offlogo

You would need to make sure files have unique names or they will be overwritten in the move.

To use the script, copy the code above and save as a text file, rename extension from .txt to .app and place in applications folder.
(Or just download from below and unzip the .app file to /mnt/ext1/applications)
Attached Files
File Type: zip Logo_Sync.zip (584 Bytes, 178 views)

Last edited by neil_swann80; 11-09-2023 at 06:33 AM.
neil_swann80 is offline   Reply With Quote