Search Results

Search: Posts Made By: repiv
9,614
Posted By mauregato
Hi, you can try for i in File* do mv $i...
Hi,
you can try
for i in File*
do
mv $i $i.mp3
done
9,614
Posted By Corona688
find ./folder -type f -exec mv '{}' '{}.mp3' ';'
find ./folder -type f -exec mv '{}' '{}.mp3' ';'
1,140
Posted By radoulov
awk 'END { print r > ( f sprintf( "%02d", ++c...
awk 'END {
print r > ( f sprintf( "%02d", ++c ) )
}
/^>/ && r {
print r > ( f sprintf( "%02d", ++c ) )
r = x; close( f sprintf( "%02d", c ) )
}
{
r = r ? r RS $0 : $0
}'...
1,282
Posted By vgersh99
nawk -v str='>scf15154847' '$0 ~ str...
nawk -v str='>scf15154847' '$0 ~ str {f=1;print;next} f &&!/^>/{print;next}f{f=0}' myFile
1,050
Posted By vgersh99
nawk 'FNR==NR{f2[$1]=$2;next} $1 in f2 {print $0...
nawk 'FNR==NR{f2[$1]=$2;next} $1 in f2 {print $0 OFS f2[$1]}' file2 FS='_' file1
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 10:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy