{"action":"created","issue":{"url":"https://api.github.com/repos/yadayada/acd_cli/issues/95","labels_url":"https://api.github.com/repos/yadayada/acd_cli/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/yadayada/acd_cli/issues/95/comments","events_url":"https://api.github.com/repos/yadayada/acd_cli/issues/95/events","html_url":"https://github.com/yadayada/acd_cli/issues/95","id":96907994,"number":95,"title":"Follow softlinks","user":{"login":"Stapper","id":5202074,"avatar_url":"https://avatars.githubusercontent.com/u/5202074?v=3","gravatar_id":"","url":"https://api.github.com/users/Stapper","html_url":"https://github.com/Stapper","followers_url":"https://api.github.com/users/Stapper/followers","following_url":"https://api.github.com/users/Stapper/following{/other_user}","gists_url":"https://api.github.com/users/Stapper/gists{/gist_id}","starred_url":"https://api.github.com/users/Stapper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stapper/subscriptions","organizations_url":"https://api.github.com/users/Stapper/orgs","repos_url":"https://api.github.com/users/Stapper/repos","events_url":"https://api.github.com/users/Stapper/events{/privacy}","received_events_url":"https://api.github.com/users/Stapper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-23T21:20:22Z","updated_at":"2015-07-24T12:31:25Z","closed_at":null,"body":"acd_cli doesn't seem to follow softlinks, it just uploads the link file.\r\nAs hard links are not possible to direct to a directory, and mounting the folders in a centralised folder seems like an ugly hack.\r\n\r\nIs it possible to let acd_cli follow softlinks, this way I can create a folder \"AmazonTransfer\" and just link files I want to have uploaded there."},"comment":{"url":"https://api.github.com/repos/yadayada/acd_cli/issues/comments/124504833","html_url":"https://github.com/yadayada/acd_cli/issues/95#issuecomment-124504833","issue_url":"https://api.github.com/repos/yadayada/acd_cli/issues/95","id":124504833,"user":{"login":"chrisidefix","id":382555,"avatar_url":"https://avatars.githubusercontent.com/u/382555?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisidefix","html_url":"https://github.com/chrisidefix","followers_url":"https://api.github.com/users/chrisidefix/followers","following_url":"https://api.github.com/users/chrisidefix/following{/other_user}","gists_url":"https://api.github.com/users/chrisidefix/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisidefix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisidefix/subscriptions","organizations_url":"https://api.github.com/users/chrisidefix/orgs","repos_url":"https://api.github.com/users/chrisidefix/repos","events_url":"https://api.github.com/users/chrisidefix/events{/privacy}","received_events_url":"https://api.github.com/users/chrisidefix/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T12:31:25Z","updated_at":"2015-07-24T12:31:25Z","body":"What about recursive self-including links? Will `realpath` deal with this sufficiently or would we also have to safeguard against endless recursion?\r\n\r\nI can see the appeal of having an \"AmazonTransfer\" folder, but you could also just write a script that runs `acd_cli.py` a couple of times for each folder pair you would like to upload.\r\n\r\nExample bash-script:\r\n\r\n```bash\r\npython3 acd_cli.py s\r\npython3 acd_cli.py ul -x 4 /mnt/external_drive/foo /Backup\r\npython3 acd_cli.py ul -x 4 ~/Documents/bar /Documents\r\npython3 acd_cli.py ul -x 4 ~/Pictures /\r\n```"}}