{"action":"created","issue":{"url":"https://api.github.com/repos/ncw/rclone/issues/227","repository_url":"https://api.github.com/repos/ncw/rclone","labels_url":"https://api.github.com/repos/ncw/rclone/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/ncw/rclone/issues/227/comments","events_url":"https://api.github.com/repos/ncw/rclone/issues/227/events","html_url":"https://github.com/ncw/rclone/issues/227","id":117747770,"number":227,"title":"Can't copy files to different name","user":{"login":"travisgroth","id":6198562,"avatar_url":"https://avatars.githubusercontent.com/u/6198562?v=3","gravatar_id":"","url":"https://api.github.com/users/travisgroth","html_url":"https://github.com/travisgroth","followers_url":"https://api.github.com/users/travisgroth/followers","following_url":"https://api.github.com/users/travisgroth/following{/other_user}","gists_url":"https://api.github.com/users/travisgroth/gists{/gist_id}","starred_url":"https://api.github.com/users/travisgroth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travisgroth/subscriptions","organizations_url":"https://api.github.com/users/travisgroth/orgs","repos_url":"https://api.github.com/users/travisgroth/repos","events_url":"https://api.github.com/users/travisgroth/events{/privacy}","received_events_url":"https://api.github.com/users/travisgroth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ncw/rclone/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ncw/rclone/milestones/16","html_url":"https://github.com/ncw/rclone/milestones/Dir%20List%20Refactor","labels_url":"https://api.github.com/repos/ncw/rclone/milestones/16/labels","id":1702299,"number":16,"title":"Dir List Refactor","description":"Tickets related to the directory list refactor","creator":{"login":"ncw","id":536803,"avatar_url":"https://avatars.githubusercontent.com/u/536803?v=3","gravatar_id":"","url":"https://api.github.com/users/ncw","html_url":"https://github.com/ncw","followers_url":"https://api.github.com/users/ncw/followers","following_url":"https://api.github.com/users/ncw/following{/other_user}","gists_url":"https://api.github.com/users/ncw/gists{/gist_id}","starred_url":"https://api.github.com/users/ncw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncw/subscriptions","organizations_url":"https://api.github.com/users/ncw/orgs","repos_url":"https://api.github.com/users/ncw/repos","events_url":"https://api.github.com/users/ncw/events{/privacy}","received_events_url":"https://api.github.com/users/ncw/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2016-04-12T19:59:56Z","updated_at":"2016-08-25T13:09:09Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-11-19T06:03:31Z","updated_at":"2016-09-08T22:46:37Z","closed_at":null,"body":"When I try to copy an individual file named 'foo' to a destination called 'ACD' (an Amazon Cloud Drive endpoint) and name the file 'bar', I get unexpected results.  Instead, I get the file 'foo' contained within the directory 'bar'.\r\n```\r\n$ rclone ls ACD:Testing/\r\n\r\nTransferred:            0 Bytes (   0.00 kByte/s)\r\nErrors:                 0\r\nChecks:                 0\r\nTransferred:            0\r\nElapsed time:       500ms\r\n$ touch foo\r\n$ rclone copy foo ACD:Testing/bar\r\n2015/11/19 01:00:22 Amazon cloud drive root 'Testing/bar': Building file list\r\n2015/11/19 01:00:23 Amazon cloud drive root 'Testing/bar': Waiting for checks to finish\r\n2015/11/19 01:00:23 Amazon cloud drive root 'Testing/bar': Waiting for transfers to finish\r\n\r\nTransferred:            0 Bytes (   0.00 kByte/s)\r\nErrors:                 0\r\nChecks:                 0\r\nTransferred:            1\r\nElapsed time:        2.4s\r\n\r\n$ rclone ls ACD:Testing/\r\n        0 bar/foo\r\n\r\nTransferred:            0 Bytes (   0.00 kByte/s)\r\nErrors:                 0\r\nChecks:                 0\r\nTransferred:            0\r\nElapsed time:       800ms\r\n```\r\n\r\nI would expect rclone to work like rsync for individual files and simply rename the file on the destination."},"comment":{"url":"https://api.github.com/repos/ncw/rclone/issues/comments/245765493","html_url":"https://github.com/ncw/rclone/issues/227#issuecomment-245765493","issue_url":"https://api.github.com/repos/ncw/rclone/issues/227","id":245765493,"user":{"login":"nioncode","id":3159451,"avatar_url":"https://avatars.githubusercontent.com/u/3159451?v=3","gravatar_id":"","url":"https://api.github.com/users/nioncode","html_url":"https://github.com/nioncode","followers_url":"https://api.github.com/users/nioncode/followers","following_url":"https://api.github.com/users/nioncode/following{/other_user}","gists_url":"https://api.github.com/users/nioncode/gists{/gist_id}","starred_url":"https://api.github.com/users/nioncode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nioncode/subscriptions","organizations_url":"https://api.github.com/users/nioncode/orgs","repos_url":"https://api.github.com/users/nioncode/repos","events_url":"https://api.github.com/users/nioncode/events{/privacy}","received_events_url":"https://api.github.com/users/nioncode/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T22:46:37Z","updated_at":"2016-09-08T22:46:37Z","body":"Hope to see this soon. I am using rclone in a script and currently have to do\r\n```\r\ncp real_file_name desired_file_name\r\nrclone copy desired_file_name remote:folder\r\nrm desired_file_name\r\n```"}}
{"actor":{"display_login":"nioncode"}}