Skip to content

Instantly share code, notes, and snippets.

@jamesdaniels
Created February 2, 2009 21:17

Revisions

  1. jamesdaniels renamed this gist Feb 2, 2009. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. jamesdaniels renamed this gist Feb 2, 2009. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. jamesdaniels renamed this gist Feb 2, 2009. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. jamesdaniels revised this gist Feb 2, 2009. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1 +1,6 @@
    `exiftool /Users/james/Desktop/james.psd`.split("\n").collect{|a| [a.split(':').first.strip, a.split(':')[1..100].join(':').strip]}
    `exiftool /Users/james/Desktop/james.psd`.split("\n").collect{|a|
    [
    (array = a.split(':')).first.strip,
    (array.shift && array).join(':').strip
    ]
    }
  5. jamesdaniels created this gist Feb 2, 2009.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    `exiftool /Users/james/Desktop/james.psd`.split("\n").collect{|a| [a.split(':').first.strip, a.split(':')[1..100].join(':').strip]}