Changeset 367
- Timestamp:
- 04.03.2010 12:06:46 (5 months ago)
- File:
-
- 1 edited
-
rubysleuth/sleuth.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
rubysleuth/sleuth.rb
r277 r367 1 1 require 'fileutils' 2 3 # TODO when working with an image created with ntfs-3g one can not count 4 # on the file or directory names being present. 2 5 3 6 deps = { … … 45 48 matches = [] 46 49 47 `ils -Am #{$haystack} | grep '#{needle}'`. each do |match|50 `ils -Am #{$haystack} | grep '#{needle}'`.split( "\n" ).each do |match| 48 51 matches.push( Directory.new( match ) ) 49 52 matches.delete_if do |i| i.type != 100 end
Note: See TracChangeset
for help on using the changeset viewer.

