-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcopy-dev-data.ps1
More file actions
19 lines (15 loc) · 810 Bytes
/
copy-dev-data.ps1
File metadata and controls
19 lines (15 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copy dev sample data to desktop folder for recording
$source = ".\dev-sample-data"
$destination = "C:\Users\umfhe\Desktop\ThoughtsPlusDevFolder"
Write-Host "Copying dev sample data..." -ForegroundColor Cyan
Write-Host "From: $source" -ForegroundColor Gray
Write-Host "To: $destination" -ForegroundColor Gray
# Create destination if it doesn't exist
if (-not (Test-Path $destination)) {
New-Item -ItemType Directory -Path $destination -Force | Out-Null
Write-Host "Created destination folder" -ForegroundColor Green
}
# Copy all files and folders
Copy-Item -Path "$source\*" -Destination $destination -Recurse -Force
Write-Host "`nDev data copied successfully! ✓" -ForegroundColor Green
Write-Host "`nYou can now run 'npm run dev' to use this sample data for recording." -ForegroundColor Yellow