This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo root:password |sudo chpasswd root | |
sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/g' /etc/ssh/sshd_config; | |
sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config; | |
sudo service sshd restart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ChildItem -Filter "*.dff" | ForEach-Object { | |
$outputName = $_.Name -replace '\.dff$', '.flac' | |
.\ffmpeg -i "$($_.Name)" -af "aresample=resampler=soxr:osr=176400:dither_method=none" -sample_fmt s32 -c:a flac -compression_level 8 "$outputName" | |
} |