From 88d5b0852ced067ba05a782a7200e8dc820b67f0 Mon Sep 17 00:00:00 2001 From: Sp5rky Date: Wed, 30 Jul 2025 17:27:09 -0600 Subject: [PATCH] Updated Migration from Devine (markdown) --- Migration-from-Devine.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Migration-from-Devine.md b/Migration-from-Devine.md index 69fa616..f0db4d2 100644 --- a/Migration-from-Devine.md +++ b/Migration-from-Devine.md @@ -8,11 +8,13 @@ find unshackle/services/ -type f -name "*.py" -exec sed -i 's/from devine/from u ``` Windows ```powershell -Get-ChildItem "unshackle/services" -Recurse -Filter *.py | +Get-ChildItem -Path "unshackle/services" -Recurse -Filter *.py -File | ForEach-Object { - (Get-Content -Raw $_) -replace 'from devine', 'from unshackle' | - Set-Content $_ + $f = $_.FullName + (Get-Content -Raw -LiteralPath $f) -replace 'from devine', 'from unshackle' | + Set-Content -LiteralPath $f } + ``` MacOS ```bash