Changes

Jump to navigation Jump to search
111 bytes added ,  21:51, 18 March 2020
m
Line 32: Line 32:  
  find Vídeos/popcorntime/ -type f -not -name "*.torrent" -not -name "*.jpg" -not -name "*.srt" -not -name "*.txt" -exec mv "{}" /media/rafa/HM_030/video/ \;
 
  find Vídeos/popcorntime/ -type f -not -name "*.torrent" -not -name "*.jpg" -not -name "*.srt" -not -name "*.txt" -exec mv "{}" /media/rafa/HM_030/video/ \;
   −
=== Exclude 2 extensions ===
+
===Exclude 2 extensions===
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
find ./ ! -regex  '.*\(deb\|vmdk\)$'
 
find ./ ! -regex  '.*\(deb\|vmdk\)$'
 +
</syntaxhighlight>
 +
 +
=== Find video files ===
 +
<syntaxhighlight lang="bash">
 +
find . -regex  '.*\(avi\|mp4\|mkv\)$'
 
</syntaxhighlight>
 
</syntaxhighlight>
    
===Large Files===
 
===Large Files===
 
  find . -type f -size +10000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'
 
  find . -type f -size +10000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'

Navigation menu