Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- filePath=Dialog.request_file(:title => "Ordner geht noch nicht - also irgendeine Datei auswählen")
- folderPath=File.dirname(filePath[0])
- puts folderPath
- puts
- total_size = 0
- Find.find(folderPath) do |path|
- unless FileTest.directory?(path)
- unless File.basename(path)[0] == 46
- puts path
- end
- end
- end
Add Comment
Please, Sign In to add comment