Bugfix Option 5
This commit is contained in:
parent
a666e90b1c
commit
2756e0a8db
1 changed files with 13 additions and 13 deletions
26
Befehle.ps1
26
Befehle.ps1
|
@ -68,9 +68,16 @@ do
|
||||||
& $pfad -r $repository --password-file $passwordfile restore $snapshot --target $target
|
& $pfad -r $repository --password-file $passwordfile restore $snapshot --target $target
|
||||||
}
|
}
|
||||||
5 {
|
5 {
|
||||||
$befehl=Read-Host -Prompt "Befehl?";
|
$snapshot = read-host -Prompt "Snapshot(latest/id)";
|
||||||
& $pfad -r $repository --password-file $passwordfile $befehl;
|
$target = read-host -Prompt "Zielpfad: ";
|
||||||
break
|
write-host "Include: "
|
||||||
|
write-host "========================================================================"
|
||||||
|
write-host -Foregroundcolor red "Beispiele: "
|
||||||
|
write-host -ForegroundColor yellow "Dateitypen: *.exe`nDatei: C\Users\mg\Desktop\rclone\datei.exe`nOrdner: C\Users\mg\Desktop\rclone\"
|
||||||
|
write-host "Alles ist Case-Sensitive!"
|
||||||
|
write-host "========================================================================"
|
||||||
|
$include = read-host
|
||||||
|
& $pfad -r $repository --password-file $passwordfile restore $snapshot --target $target --include $include
|
||||||
}
|
}
|
||||||
6 {
|
6 {
|
||||||
$snapshot = read-host -Prompt "Snapshot(latest/id)";
|
$snapshot = read-host -Prompt "Snapshot(latest/id)";
|
||||||
|
@ -141,16 +148,9 @@ do
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
17 {
|
17 {
|
||||||
$snapshot = read-host -Prompt "Snapshot(latest/id)";
|
$befehl=Read-Host -Prompt "Befehl?";
|
||||||
$target = read-host -Prompt "Zielpfad: ";
|
& $pfad -r $repository --password-file $passwordfile $befehl;
|
||||||
write-host "Include: "
|
break
|
||||||
write-host "========================================================================"
|
|
||||||
write-host -Foregroundcolor red "Beispiele: "
|
|
||||||
write-host -ForegroundColor yellow "Dateitypen: *.exe`nDatei: C\Users\mg\Desktop\rclone\datei.exe`nOrdner: C\Users\mg\Desktop\rclone\"
|
|
||||||
write-host "Alles ist Case-Sensitive!"
|
|
||||||
write-host "========================================================================"
|
|
||||||
$include = read-host
|
|
||||||
& $pfad -r $repository --password-file $passwordfile restore $snapshot --target $target --include $include
|
|
||||||
}
|
}
|
||||||
99 {exit;break}
|
99 {exit;break}
|
||||||
default{write-host "`nUngueltige Eingabe!"}
|
default{write-host "`nUngueltige Eingabe!"}
|
||||||
|
|
Loading…
Add table
Reference in a new issue