Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tips:threelinestip [2010/10/28 11:17]
a
tips:threelinestip [2012/12/01 18:03]
a [Convert pdf to jpg]
Line 146: Line 146:
     -density 300 -quality 80 $file `echo $file | sed 's/\.pdf$/\.jpg/'`; done     -density 300 -quality 80 $file `echo $file | sed 's/\.pdf$/\.jpg/'`; done
  
 +===== rename upper to lowercase in bash ====
 +
 +   for x in *.JPG; do y=$(echo $x | tr '[A-Z]' '[a-z]'); echo $y; mv $x $y; done
 ===== Find duplicate files in Linux ===== ===== Find duplicate files in Linux =====
  
Line 165: Line 168:
    ps -eo pcpu,pid,args | sort -k 1 -r | head -10    ps -eo pcpu,pid,args | sort -k 1 -r | head -10
  
 +===== Create static mirror of dynamic web site (ex. Wordpress) =====
  
  
 +   wget --mirror -w 2 -p -r -np --html-extension --convert-links -R xmlrpc.php,trackback <URL>
  
tips/threelinestip.txt · Last modified: 2015/01/07 07:47 by mrizvic
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready