Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Mar 8th, 2018 52 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. filePath=Dialog.request_file(:title => "Ordner geht noch nicht - also irgendeine Datei auswählen")
  2. folderPath=File.dirname(filePath[0])                    
  3. puts folderPath
  4. puts
  5.  
  6. total_size = 0
  7.  
  8. Find.find(folderPath) do |path|
  9.   unless FileTest.directory?(path)
  10.     unless File.basename(path)[0] == 46
  11.       puts path
  12.     end
  13.   end
  14. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top