{"action":"created","issue":{"url":"https://api.github.com/repos/swift-nav/piksi_tools/issues/184","labels_url":"https://api.github.com/repos/swift-nav/piksi_tools/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/swift-nav/piksi_tools/issues/184/comments","events_url":"https://api.github.com/repos/swift-nav/piksi_tools/issues/184/events","html_url":"https://github.com/swift-nav/piksi_tools/pull/184","id":112922916,"number":184,"title":"allow user to specify a directory with -o arg","user":{"login":"denniszollo","id":11276774,"avatar_url":"https://avatars.githubusercontent.com/u/11276774?v=3","gravatar_id":"","url":"https://api.github.com/users/denniszollo","html_url":"https://github.com/denniszollo","followers_url":"https://api.github.com/users/denniszollo/followers","following_url":"https://api.github.com/users/denniszollo/following{/other_user}","gists_url":"https://api.github.com/users/denniszollo/gists{/gist_id}","starred_url":"https://api.github.com/users/denniszollo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denniszollo/subscriptions","organizations_url":"https://api.github.com/users/denniszollo/orgs","repos_url":"https://api.github.com/users/denniszollo/repos","events_url":"https://api.github.com/users/denniszollo/events{/privacy}","received_events_url":"https://api.github.com/users/denniszollo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-23T01:25:30Z","updated_at":"2015-10-26T17:16:44Z","closed_at":"2015-10-23T01:28:55Z","pull_request":{"url":"https://api.github.com/repos/swift-nav/piksi_tools/pulls/184","html_url":"https://github.com/swift-nav/piksi_tools/pull/184","diff_url":"https://github.com/swift-nav/piksi_tools/pull/184.diff","patch_url":"https://github.com/swift-nav/piksi_tools/pull/184.patch"},"body":"overloaded the -o arg on serial link and console to allow specifying a directory while autogenerating a filename.\r\n\r\n@mookerji \r\n@sashamitelman "},"comment":{"url":"https://api.github.com/repos/swift-nav/piksi_tools/issues/comments/151213850","html_url":"https://github.com/swift-nav/piksi_tools/pull/184#issuecomment-151213850","issue_url":"https://api.github.com/repos/swift-nav/piksi_tools/issues/184","id":151213850,"user":{"login":"sashamitelman","id":15111455,"avatar_url":"https://avatars.githubusercontent.com/u/15111455?v=3","gravatar_id":"","url":"https://api.github.com/users/sashamitelman","html_url":"https://github.com/sashamitelman","followers_url":"https://api.github.com/users/sashamitelman/followers","following_url":"https://api.github.com/users/sashamitelman/following{/other_user}","gists_url":"https://api.github.com/users/sashamitelman/gists{/gist_id}","starred_url":"https://api.github.com/users/sashamitelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sashamitelman/subscriptions","organizations_url":"https://api.github.com/users/sashamitelman/orgs","repos_url":"https://api.github.com/users/sashamitelman/repos","events_url":"https://api.github.com/users/sashamitelman/events{/privacy}","received_events_url":"https://api.github.com/users/sashamitelman/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T17:16:44Z","updated_at":"2015-10-26T17:16:44Z","body":"The short bash script I put together over the weekend to implement equivalent functionality (for my moving-baseline setup with a fixed logfile directory):\r\n\r\n    #!/bin/bash\r\n    N=1\r\n    for i in `ls /dev/cu.usbserial-*`; do\r\n        open -n /Applications/Piksi\\ Console\\ $N.app/ --args -p $i -l -e -o \\\r\n            ~/Desktop/Hackathon/logs/`date \"+serial-link-%Y%m%d-%H%M%S-piksi$N.log.json\"`;   \r\n        N=$[N+1];\r\n    done\r\n\r\nI'll grab the commit from git and test the next time I'm heading out."}}