search for: number_of_fil

Displaying 2 results from an estimated 2 matches for "number_of_fil".

Did you mean: number_of_files
2006 Jul 19
3
BackgrounDRb not working properly with files ?
...monitor the progress #@progress is used by the controller for the progress bar, #file_number is used to calculate the progress @progress = 0 file_number = 0 #Checking if the arg is indeed a directory if File.directory?(args) path = args #we get number_of_files to calculate the progress number_of_files = Dir.entries(path).size #Let''s get into that dir and look inside Dir.open(path) do |dir| dir.each do |entry| #We ignore ".", ".." (included in ruby dir listings) #we...
2009 Jun 18
3
Possible Bug or limitation in Cygwin 1.7 and Rsync and file number limit
...s, but it seems to be somewhere over 6,000 in a single directory. To help sort this out, I whipped up the following perl code that creates 9,000 dummy files and puts them in a c:\temp directory. Code is as follows if anyone would like to try and reproduce this: my $path="c:/temp/"; my $number_of_files=9000; my $base_file_name="file"; my $count=1; my $file_name = $path . $base_file_name . $count; while ($count <= $number_of_files) { open FILE, ">$file_name" or die $!; $count++; $file_name = $path . $base_file_name . $count; print FILE "1"; close(FIL...