User Tools

Site Tools


powershell:duplicati

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
powershell:duplicati [2026/08/26 18:36] – adm.wikipowershell:duplicati [2026/09/01 10:32] (current) – adm.wiki
Line 1: Line 1:
 ====== DUPLICATI (Single Path) ====== ====== DUPLICATI (Single Path) ======
  
-**EN CONSTRUCCION**+**Esqueme de trabajo** 
 +{{drawio>powershell:diagram1.png}} 
 -------------- --------------
 **Para que sirve:** **Para que sirve:**
Line 16: Line 18:
 $Path = read-host "RUTA* ejemplo c:\users\" $Path = read-host "RUTA* ejemplo c:\users\"
 $HashFile = join-path $PSScriptRoot "$($fecha)_hash.csv" $HashFile = join-path $PSScriptRoot "$($fecha)_hash.csv"
 +
 +$Count = 0 #contar hashes
  
 Get-ChildItem -Path $Path -File -Recurse | ForEach-Object { Get-ChildItem -Path $Path -File -Recurse | ForEach-Object {
  
     $Hash = Get-FileHash -Path $_.FullName -Algorithm md5     $Hash = Get-FileHash -Path $_.FullName -Algorithm md5
 +$Count++
 +
 +Write-Host "`rConstruyendo lista... $Count hashes" -NoNewline
  
     [PSCustomObject]@{     [PSCustomObject]@{
Line 63: Line 70:
 exit exit
 } }
 +read-host "presione una tecla para salir"
 </code> </code>
  
-**Esqueme de trabajo** +**RUN**
-{{drawio>powershell:diagram1.png}}+
  
-**RUN** +{{.:pasted:20260827-083803.png}} 
-{{.:pasted:20260826-155038.png}}+{{.:pasted:20260827-083848.png}}
 {{.:pasted:20260826-155115.png}} {{.:pasted:20260826-155115.png}}
 {{.:pasted:20260826-160403.png}} {{.:pasted:20260826-160403.png}}
-{{.:pasted:20260826-183621.png}}+{{.:pasted:20260827-074837.png}} 
 +{{.:pasted:20260827-074909.png}}
powershell/duplicati.1787762185.txt.gz · Last modified: by adm.wiki