Works flawlessly! You are really good!
If you don't mind me asking one more thing, but before, here is a little explanation or what I'm trying to do now.
If someone is using my theme, prior to now, all the directories inside the loading screens directories (the .app directories), used to contain only one file, the loading screen, which was basically the same file.
As I added more and more Default.png (the file that goes there), it became clear I had to deal with this some other ways... having more than 500 loading screens, it was a bit more than 50 mb, just for the same file repeating itself.
So I created links instead, pointing to one file. I managed to search the net, and build a small script that removed the Default.png from each dir, and link instead to a Default.png located two folders up.
Now when I run the script on my iphone now, since I already ran it before, I get error messages saying cannot create, cannot link, bla bla bla.. that's normal, and doesn't matter, but would there be a clean way of dealing with this?
Also, would there be a way to determine, if there is a Default.png already there, to remove it (or even better, check if it's size is over a certain amount, like 1kb, so it's not a link but a real image, and if it's over 1kb, remove and link, and if under 1kb, skip it.)
The reason why I'm asking this, is because yesterday, when I first removed all the Default.png image and created links, I used this:
for dir in *;
do [ -d "$dir" ] && rm "$dir/Default.png" && ln -s ../../Default.png "$dir/Default.png" ;
done
And it worked pretty good. Except that when I wanted to add that part to the creating directories script you built me earlier, I ended up with messages saying there are no Default.png to remove, which is expectable(!), but it didn't followed on the linking part. So it worked and removed all the links, and created new ones, but all those that were just created and empty, they were still empty after too, no links got created.
So from now, I'd like to determine if there is already a .app dir in /Folders, if so, check if there is a Default.png, if not, create one, if there is one, check the size or link status, and if it's higher than 1kb, or if we can determine easily if it's a file or link, remove the file, and create a link, if it's already a link, skip it.
This would make updating the loading screens directories easier once you add more apps, and would also make it easier for people with different themes, to switch to a symbolic links based model.
I hope I got my ideas clear, and if you have any questions, let me know! I'll try to explain otherwise!
Thanks a lot for your fast and spot on answers! I really appreciate your help.
(offtopic) Do you have an iphone? If so, are you into theming? Please tell me, you might be interested in seeing what I have done!