Actualizar 'README.md'
This commit is contained in:
10
README.md
10
README.md
@@ -1,8 +1,16 @@
|
|||||||
# windows-tips
|
# windows-tips
|
||||||
## Renombrar archivos masivamente PowerShell
|
## PowerShell
|
||||||
|
|
||||||
|
### Renombrar archivos masivamente PowerShell
|
||||||
```sh
|
```sh
|
||||||
get-childitem -recurse | rename-item -NewName {$_.name -replace "procesado","" }
|
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
|
## Copiar clave ssh a servidor linux
|
||||||
```sh
|
```sh
|
||||||
type $env:USERPROFILE\.ssh\id_rsa.pub | ssh suma@45.183.247.209 "cat >> .ssh/authorized_keys"
|
type $env:USERPROFILE\.ssh\id_rsa.pub | ssh suma@45.183.247.209 "cat >> .ssh/authorized_keys"
|
||||||
|
|||||||
Reference in New Issue
Block a user