Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup/restore multiple (but not all) packages #10

Open
schnatterer opened this issue Nov 21, 2021 · 2 comments
Open

Backup/restore multiple (but not all) packages #10

schnatterer opened this issue Nov 21, 2021 · 2 comments

Comments

@schnatterer
Copy link
Owner

e.g.

./backup-app.sh com.nxp.taginfolite  org.kde.kdeconnect_tp user@host:/my/folder/backup
./restore-app.sh com.nxp.taginfolite  org.kde.kdeconnect_tp
@rancidfrog
Copy link

The idea is good.
But the solution could be improved.
I suggest using file such as applist to use as input
There is apps available that list files in specific formats. The output can be edited then used.

./backup-app.sh applist user@host:/my/folder/backup

As a minimum, applist would include package names of all apps you want to backup, one per line.

@schnatterer
Copy link
Owner Author

This could be realized like so:

./backup-app.sh $(cat applist) user@host:/my/folder/backup

without having to implement file loading or parsing 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants