mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-06-18 10:56:45 +02:00
Updated fetch-repos.ps1
This commit is contained in:
parent
b8d9a4dc19
commit
1243fced11
@ -7,7 +7,7 @@
|
|||||||
Specifies the path to the parent folder
|
Specifies the path to the parent folder
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./fetch-repos.ps1 C:\MyRepos
|
PS> ./fetch-repos.ps1 C:\MyRepos
|
||||||
⏳ (1) Searching for Git executable... git version 2.42.0
|
⏳ (1) Searching for Git executable... git version 2.43.0
|
||||||
⏳ (2) Checking parent folder... 33 subfolders
|
⏳ (2) Checking parent folder... 33 subfolders
|
||||||
⏳ (3/35) Fetching into 📂base256unicode...
|
⏳ (3/35) Fetching into 📂base256unicode...
|
||||||
...
|
...
|
||||||
@ -44,7 +44,7 @@ try {
|
|||||||
$step++
|
$step++
|
||||||
}
|
}
|
||||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||||
"✔️ Fetched updates into $numFolders repos under 📂$parentDirPathName in $elapsed sec"
|
"✔️ Fetched into $numFolders repos under 📂$parentDirPathName in $($elapsed)s."
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user