http://repo.openpand...milkyhelper-1.2
Grab the git if you want to do this on PC (needs Linux)milky --noconfirm --needed -S $(milky -Si | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" | grep '^ID' | sed -re 's/^ID[\t ]+: //g'); milky --noconfirm -Su
You can run that above snippet many times as you want, it won't reinstall already installed stuff. It also runs update check.
You might want to make alias for it though. Long snippet like that, can be hard to remember, and I have no plans to add such functionality to milkyhelper itself.
Also if you compile it without color support, you can get rid of the first sed.
#!/bin/sh
# Install && Update everything from repo
# Virtual SD (Download directory)
# Creates pandora layout there and stores libmilky database
VD="/absolute/path/to/download/dir"
mkdir -p "$VD"
# Sync database with repo
milky -r "$VD" -Sy
# Install, but do not reinstall
milky --noconfirm --needed -r "$VD" -S $(milky -r "$VD" -Si | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" | grep '^ID' | sed -re 's/^ID[\t ]+: //g');
# Update everything
milky -r "$VD" --noconfirm -Su
A file with a name of your choosing, the shebang in the beginning on the script indicates what program will launch it. On Linux file extensions are not used to determine how to launch a program. Don't forget to make it executable (chmod +x <filename>, or properties dialog in your file manager).So I open text editor, past your script and save as what? Also, what about downloading things from only one category?
milky -r "$VD" -Si
milky -r "$VD" -Sic category_here