OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: jason123 on March 12, 2004, 01:59:33 am
-
Ok.... So I decieded to free up some space on my Z by moving the png files from /home/QtPalmtop/pics to /mnt/card/QtPalmtop/pics and then symlinking them. Only it won\'t let me symlink!!!!! how do i do it? I tried ln -s *.png /home/QtPalmtop/pics/ from the sd card\'s dir ... but it wouldn\'t wok -- i then proceeded to start qtopia and run advancedfm as root and symlinking that way ... still a no go.
does anyone have any ideas? having no icons sucks major uhhmmm oh you put a word in -- it\'ll do....
thanks!
-
try linking a single file, I can\'t see anything directly wrong with your syntax, but it\'s often easier to see errors doing things one at a time.
If a single file works then it\'s probable that the busybox ln doesn\'t do wildcards properly. Also I find it easier to move to the target directory and use
ln -s /mnt/card/QtPalmtop/pics/*.png ./
Stu
-
one at a time does work .... sigh ... if i try to do all at once \"ln -s *.png /home/QtPalmtop/pics/\" it keeps on trying to do the first one ... tells me the file exists and seg faults ... any suggestions?
-
use bash\'s for support.
for i in *.png; do ln -sf $i /home/QtPalmtop/pics/$i ; done
-
I think the above is what you were really after but how\'s about:
cd /opt/QtPalmtop
ln -s /mnt/card/QtPalmtop/pics ./pics
Si
-
how bout...
cd /opt/QtPalmtop
mv pics /mnt/card/QtPalmtop/pics
ln -s /mnt/card/QtPalmtop/pics pics
-
one at a time does work .... sigh ... if i try to do all at once \"ln -s *.png /home/QtPalmtop/pics/\" it keeps on trying to do the first one ... tells me the file exists and seg faults ... any suggestions?
the man page seems to indicate that this is a possible usage (linux, redhat) ...
is the ln busybox? or some other ln that isn\'t compatible? as others have
pointed out, it\'s fairly easy to iterate over the files with a shell loop using \"for\" etc.
Scott
-
You won\'t save any space by doing that because most files in /home/QtPalmtop/pics are alreeady symlinks to /usr/QtPalmtop.rom/pics, which is in your internal read-only memory.
-
Too late but I had some custom icons installed there manually -- those I\'ll save space on.
-
WAHOOO!!!! Thanks! I used chyang\'s suggestion -- wahooo thank you!hmm now i need to go back and assign icons to Everything...
(edit) well... that excitement was a little premature.... i get back into qtopia and open up advancedfm and nope ... there\'s none of the links there.... so trying again....
-
Errm.... is there any way besides \"Tab Manager\" to specify where Qtopia looks for the png\'s at?