Mailinglist Archive: opensuse (4398 mails)
| < Previous | Next > |
Re: [opensuse] Preload HowTo
- From: nordi <nordi@xxxxxxxxx>
- Date: Sun, 25 Sep 2005 23:45:34 +0200
- Message-id: <43371A7E.4080009@xxxxxxxxx>
Michael Schueller wrote:
> Could i change them to
>
> open /home/$USER/.opera/cache4/*.*
No, that won't work. At least not without heavy modifications, because
wildcards are not supported at all by preload. You can, however, do this
manually with the following line:
for i in /home/schueller/.opera/cache4/*; do echo "W $i"; done | preload
This uses the simple "W" command of preload, which simply tells it to
preload the entire file. Append this to pepr.sh or appspreloader.sh,
depending on which one you use.
Maybe this should be integrated into PePr: If all files from a certain
directory would be preloaded, then just run the above command. It could
certainly be useful, because Mozilla does the same thing with its cache
files. But this could also go horribly wrong if the directory later on
fills up with many more files (documents, pictures, videos...). I have
to think about that.
Regards
nordi
> Could i change them to
>
> open /home/$USER/.opera/cache4/*.*
No, that won't work. At least not without heavy modifications, because
wildcards are not supported at all by preload. You can, however, do this
manually with the following line:
for i in /home/schueller/.opera/cache4/*; do echo "W $i"; done | preload
This uses the simple "W" command of preload, which simply tells it to
preload the entire file. Append this to pepr.sh or appspreloader.sh,
depending on which one you use.
Maybe this should be integrated into PePr: If all files from a certain
directory would be preloaded, then just run the above command. It could
certainly be useful, because Mozilla does the same thing with its cache
files. But this could also go horribly wrong if the directory later on
fills up with many more files (documents, pictures, videos...). I have
to think about that.
Regards
nordi
| < Previous | Next > |