Rinominare molti file da terminale può diventare rapido e ordinato con un’interfaccia TUI pensata per il controllo totale. #Linux #Terminale #TUI #FileRename #OpenSource
Rinominare molti file da terminale può diventare rapido e ordinato con un’interfaccia TUI pensata per il controllo totale. #Linux #Terminale #TUI #FileRename #OpenSource
Learning the syntax and functions included with the #fishshell. Renaming all the "xxx.bw" files from a folder, to remove the words "Aligned.sortedByCoord.out.bam" that the #STAR mapper adds to the file names looks like this:
set THEFILES (find . -name "*.bw")
for f in $THEFILES
command mv $f (echo (string replace Aligned.sortedByCoord.out.bam "" $f))
end
One can also use #sed, but the string manipulation functions included with fish are quite extensive.