This account is temporarily suspended network-wide. The suspension period ends on Jul 6 at 8:31.
Reputation
Top tag
Next privilege 5 Rep.
Participate in meta
Badges
3 10
Newest
 Nice Answer
Impact
~99k people reached

  • 0 posts edited
  • 0 helpful flags
  • 3 votes cast
May
22
revised Move files based on list of old and new file paths
added 236 characters in body
May
22
comment Move files based on list of old and new file paths
Of course duh... disabled iTunes bad organizer.. creating new input1.txt
May
22
awarded  Supporter
May
22
comment Move files based on list of old and new file paths
still many errors ...hmm..I paraphrase... <old_file> exists but error says {No such file...} to {old_file} OR {new_filename} before new is created??? in line ending with (Errno::ENOENT) .. see dropbox "Ruby error take 2.txt" some errors show {new_filename} to {new_filename}
May
22
comment Move files based on list of old and new file paths
@slhck perhaps but thats too easy. An old dog trying to learn scripting since HPbasic and Forth days is good for my soul. Error log put in dropbox. Take a peek. How do I append other characters in file name filter syntax _&' etc
May
22
comment Move files based on list of old and new file paths
thanks @slhck for helping me understand the syntax of Ruby with my example question. I thought my generalization of .xxx extension would suffice but I should know better to state all the assumptions such as filespec rules and language and UTF-8. Some filenames deleted had Japanese characters. will try now.
May
22
revised Windows 7 running slowly with low CPU usage and memory
added 1510 characters in body
May
22
answered Windows 7 running slowly with low CPU usage and memory
May
22
answered How to Execute ShortCut From Command line in Windows 7
May
22
answered Where do I get a generic driver for a USB flash drive for MS Windows XP?
May
22
answered Cleaning oil paint off touchpad?
May
22
comment Move files based on list of old and new file paths
see dropbox example files? still no go.. same error
May
22
comment Move files based on list of old and new file paths
it just responded with error presumably from file name content outside A~z. I posted both ruby and input.txt in dropbox 7hrs ago
May
21
comment Move files based on list of old and new file paths
drop box dropbox.com/sh/tdufcnh7v9kelur/9X_sTpOhN0/Ruby
May
21
comment Move files based on list of old and new file paths
nope>> ruby tony.rb tony.rb:2: undefined method +' for nil:NilClass (NoMethodError) from tony.rb:1:in each_line' << I agree it is insane. I could do it in excel using string match for file extensions using a common set of a few .xxx and last occurrence of / to denote beginning of file name.back in 3 hrs
May
21
awarded  Commentator
May
21
comment Move files based on list of old and new file paths
This challenge becomes even more difficult when you consider the depth of filename specs and incompatibilities across platforms but I choose to *ignore that for now.. e.g Chinese font text and RTL Language fonts
May
21
suggested rejected edit on Move files based on list of old and new file paths
May
21
comment Move files based on list of old and new file paths
tony.rb:2: undefined method +' for nil:NilClass (NoMethodError) from tony.rb:1:in each_line' from tony.rb:1
May
21
comment Move files based on list of old and new file paths
found a space after EOS from copy&paste of code... trashed the shovel.... now says ... /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutil‌​s.rb:505:in rename': No such file or directory - /path/old file name.ext or /path/new file name.ext (Errno::ENOENT) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutil‌​s.rb:505:in mv' etc ... I think I need to replace that with something for input.txt