Author Topic: Install To Sd Manager  (Read 3380 times)

rebski

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Install To Sd Manager
« on: August 13, 2005, 05:56:10 am »
So many apps insist on being installed to Internal Storage that I have no room left.

What I need is a utility akin to Tab Manager which will identify the Internal Storage apps and let me select and move them to SD.

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Install To Sd Manager
« Reply #1 on: August 13, 2005, 10:24:20 am »
Quote
So many apps insist on being installed to Internal Storage that I have no room left.

What I need is a utility akin to Tab Manager which will identify the Internal Storage apps and let me select and move them to SD.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=91664\"][{POST_SNAPBACK}][/a][/div]

Not a bad idea IMO, could even be done in opie-sh  

Some light-weight bash scripting should do the trick:

Code: [Select]
# Untested!
for file in `cat /usr/lib/ipkg/info/$appname.list`
do
   ! test -d "`dirname "$file"`" && mkdir -p  "`dirname "$file"`"
   mv $file /media/sd/$file
done

After that you'd need to take care to copy ipkg's meta data about the package to SD and edit all pathes in $appname.list to match the new path.
Webmaster of hentges.net & Embedded Linux Developer.