daily pastebin goal
13%
SHARE
TWEET

Untitled

a guest Mar 8th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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