Get-ChildItem -Recurse -File -Name |
%{$FileName=$_; (gc -Raw $_) -creplace 'cat','dog' |
Set-Content -encoding Default $FileName -NoNewline }
NoNewlineで文末の改行も入らない
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
Get-ChildItem -Recurse -File -Name |
%{$FileName=$_; (gc -Raw $_) -creplace 'cat','dog' |
Set-Content -encoding Default $FileName -NoNewline }
NoNewlineで文末の改行も入らない
Register as a new user and use Qiita more conveniently
Go to list of users who liked