This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| VERSION="URSim_Linux-3.7.2.40245.tar.gz" | |
| FOLDER="ursim-3.7.2.40245" | |
| FILE=ursim.tar.gz | |
| UNPACKDIR=/tmp/ursim-unpack | |
| function download { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vagrant : INFO global: Vagrant version: 2.0.2 | |
| At line:1 char:1 | |
| + vagrant up --debug --provider hyperv 2>&1 | Tee-Object -FilePath ".\v ... | |
| + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| + CategoryInfo : NotSpecified: ( INFO global: Vagrant version: 2.0.2:String) [], RemoteException | |
| + FullyQualifiedErrorId : NativeCommandError | |
| INFO global: Ruby version: 2.4.3 | |
| INFO global: RubyGems version: 2.6.14 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (Get-Module renamings) { return } | |
| <# | |
| .SYNOPSIS | |
| Add parent folder as prefix to all files matching $pattern | |
| .DESCRIPTION | |
| Recursively, from current directory, searches for all files matching the provided pattern. | |
| It then renames those files so that the filename gets a prefix that is name of the parent |
These 'notes' were primarily intended for my own consumption but since there have been surprisingly many comments to it over the years I wanted to do some updates and clarifications. Thanks for all comments.
These instructions will require you to have connection to internet from your pi, WiFi, Ethernet or by some other means like a 3G USB dongle or something.