2 ms·
Do you need to pipe the ruby output to bash? Ruby could just run the mv directly by wrapping in backticks instead of quotes.
by wild_egg 2mo ago
Do you need to pipe the ruby output to bash? Ruby could just run the mv directly by wrapping in backticks instead of quotes.
- zoky 2mo agoRunning it through the pipe lets you preview the command first and make sure it actually looks correct. Then you just re-run the command and append the bash pipe.