Actualizar 'README.md'
This commit is contained in:
12
README.md
12
README.md
@@ -1,8 +1,16 @@
|
||||
# windows-tips
|
||||
## Renombrar archivos masivamente PowerShell
|
||||
# windows-tips
|
||||
## PowerShell
|
||||
|
||||
### Renombrar archivos masivamente PowerShell
|
||||
```sh
|
||||
get-childitem -recurse | rename-item -NewName {$_.name -replace "procesado","" }
|
||||
```
|
||||
### Borrar archivos masivamente PowerShell
|
||||
```sh
|
||||
Get-ChildItem -Recurse -Filter *.json | ForEach-Object {
|
||||
Remove-Item $_.FullName -Force
|
||||
}
|
||||
```
|
||||
## Copiar clave ssh a servidor linux
|
||||
```sh
|
||||
type $env:USERPROFILE\.ssh\id_rsa.pub | ssh suma@45.183.247.209 "cat >> .ssh/authorized_keys"
|
||||
|
||||
Reference in New Issue
Block a user