mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-21 17:38:19 +02:00
Improve pull-repos.ps1
This commit is contained in:
parent
dc1cf899c2
commit
c2ff0bb396
@ -18,7 +18,7 @@ try {
|
|||||||
$Folders = (get-childItem "$ParentDir" -attributes Directory)
|
$Folders = (get-childItem "$ParentDir" -attributes Directory)
|
||||||
$FolderCount = $Folders.Count
|
$FolderCount = $Folders.Count
|
||||||
$ParentDirName = (get-item "$ParentDir").Name
|
$ParentDirName = (get-item "$ParentDir").Name
|
||||||
"Pulling updates for $FolderCount Git repositories at 📂$ParentDirName..."
|
"Found $FolderCount subfolders under 📂$ParentDirName..."
|
||||||
|
|
||||||
foreach ($Folder in $Folders) {
|
foreach ($Folder in $Folders) {
|
||||||
$FolderName = (get-item "$Folder").Name
|
$FolderName = (get-item "$Folder").Name
|
||||||
|
Loading…
Reference in New Issue
Block a user