Änderungen

Zur Navigation springen Zur Suche springen
124 Bytes hinzugefügt ,  13:57, 10. Sep. 2007
K
Zeile 81: Zeile 81:  
<pre>
 
<pre>
 
find /media/ -type f -printf "\"%s\" \"%p\"\n" | awk -F'"' '{printf "\""$2"\" \""$4"\" \"";system("file -bi \""$4"\"")}' | sed 's/$/"/g' >liste.txt
 
find /media/ -type f -printf "\"%s\" \"%p\"\n" | awk -F'"' '{printf "\""$2"\" \""$4"\" \"";system("file -bi \""$4"\"")}' | sed 's/$/"/g' >liste.txt
 +
</pre>
 +
 +
<pre>
 +
PATH="/media/"
 +
LIST="/media/hda1/filelist.txt"
 +
 +
find $PATH -type f -printf "SIZE=%s;PATH=%h;FILE=%f\n" >$LIST
 
</pre>
 
</pre>
  

Navigationsmenü