-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add a documentation for scoop export #1543
Comments
I'm not sure why Here's how I would do an export/import. You're not guaranteed to get the same versions of apps, just the same apps at the most recent version. # export app names to scoop-apps.txt
(scoop list) | sls '^ (\w+)' |% { $_.matches.groups[1].value } > scoop-apps.txt
# install apps from scoop-apps.txt
$apps = gc scoop-apps.txt
scoop install @apps @mykolapolonskyi that looks like an encoding problem. PowerShell I think uses a Unicode encoding (not UTF-8 though) and vi isn't detecting that. If you did |
Ok, understand. And what about idea to use exported list of applications, including versions only to let user know on import, that there are newer versions of applications (as a notice/info)? Maybe it's not necessary as that's a concept of Scoop, so who is using it should expect that there could be newer versions... |
@lukesampson I'm not getting that first command to work:
Another look at the regex: |
That's because |
This appears to be resolved. If not, let us know. Thanks. |
Would be nice to have command to completely export settings (Buckets, Installet apps, Version) so on new compute you can just type import FILE and all application will be installed automatically |
Here is a version of the export command that uses # export app names to scoop-apps.txt
(scoop export) | sls '^([\w-]+)' |% { $_.matches.groups[1].value } > scoop-apps.txt
# install apps from scoop-apps.txt
$apps = gc scoop-apps.txt
scoop install @apps |
Thanks. I am doing this to have bucket/app list: (scoop export) | sls '^([\w-]+) .* \[(.*)\]$' |% { "$($_.matches.groups[2])/$($_.matches.groups[1])" } |
Some buckets (main/extras/...?) contain apps with
|
Accepting all between spaces: "someapp 2.32 [bucket1]`nsomegood._- 1.23 [bucket2]" -split "`n" | sls '^(.+) .+ \[(.+)\]$' |% { "$($_.matches.groups[2])/$($_.matches.groups[1])" } |
There is description, how to do scoop export, but there is not easy way, how to do scoop import / install, whatever. I've tried somethings, but nothing worked.
So this issue is basically "How to import exported list of applications?".
Thanks :)
The text was updated successfully, but these errors were encountered: