User Tools

Site Tools


quick_command_list

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
quick_command_list [2020/08/10 02:35] – external edit 127.0.0.1quick_command_list [2022/05/16 20:05] (current) – [remove comments and blank lines from output] k2patel
Line 333: Line 333:
 grep -v -e '^#\|^\W*$' grep -v -e '^#\|^\W*$'
 </code> </code>
 +OR 
 +<code bash> 
 +grep '^[[:blank:]]*[^[:blank:]#;]' $file 
 +</code>
  
 ==== Calculating Date ==== ==== Calculating Date ====
Line 468: Line 471:
 <code bash> <code bash>
 cat < /dev/tcp/k2patel.in/3306 cat < /dev/tcp/k2patel.in/3306
 +</code>
 +
 +==== Setting id tag on mp3 ====
 +Setting mp3 tag on multiple file based on filename as song name.\\
 +Same artist.
 +<code bash>
 +while read k2; do id3tag -a'xyz guru' -A'SuperSpeed' -s"${k2%%.*}" -y'2021' "${k2}" ; done < <(ls *.mp3)
 </code> </code>
  
quick_command_list.1597026930.txt.gz · Last modified: 2020/08/10 02:35 by 127.0.0.1