mirror of
https://github.com/rclone/rclone.git
synced 2024-11-28 11:25:18 +01:00
Updated Install rclone via powershell script (markdown)
parent
83376236c6
commit
9b0bbe3897
@ -4,6 +4,7 @@ https://forum.rclone.org/t/install-script-for-rclone-on-windows/3149
|
|||||||
|
|
||||||
To use the script you can simply run this line in PowerShell
|
To use the script you can simply run this line in PowerShell
|
||||||
|
|
||||||
|
NEEDS ADMIN
|
||||||
Invoke-Expression ((Invoke-WebRequest -Uri "https://gist.githubusercontent.com/justusiv/1ff2ad273cea3e33ca4acc5cab24c8e0/raw").content)
|
Invoke-Expression ((Invoke-WebRequest -Uri "https://gist.githubusercontent.com/justusiv/1ff2ad273cea3e33ca4acc5cab24c8e0/raw").content)
|
||||||
install-rclone
|
install-rclone
|
||||||
|
|
||||||
@ -11,9 +12,10 @@ As with any code please review it before running it on your system.
|
|||||||
|
|
||||||
If you do not want to run this as admin feel free to do something like this.
|
If you do not want to run this as admin feel free to do something like this.
|
||||||
|
|
||||||
|
NO ADMIN NEEDED
|
||||||
Invoke-Expression ((Invoke-WebRequest -Uri "https://gist.githubusercontent.com/justusiv/1ff2ad273cea3e33ca4acc5cab24c8e0/raw").content)
|
Invoke-Expression ((Invoke-WebRequest -Uri "https://gist.githubusercontent.com/justusiv/1ff2ad273cea3e33ca4acc5cab24c8e0/raw").content)
|
||||||
$silent = mkdir c:\rclone -ErrorAction SilentlyContinue
|
$silent = mkdir c:\rclone -ErrorAction SilentlyContinue
|
||||||
install-rclone -location c:\rclone
|
install-rclone -location c:\rclone
|
||||||
|
|
||||||
then just add c:\rclone to your path
|
Then just add c:\rclone to your path. This only has to be done once.
|
||||||
http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-system-path
|
http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-system-path
|
||||||
|
Loading…
Reference in New Issue
Block a user