{"action":"opened","issue":{"url":"https://api.github.com/repos/ncw/rclone/issues/577","repository_url":"https://api.github.com/repos/ncw/rclone","labels_url":"https://api.github.com/repos/ncw/rclone/issues/577/labels{/name}","comments_url":"https://api.github.com/repos/ncw/rclone/issues/577/comments","events_url":"https://api.github.com/repos/ncw/rclone/issues/577/events","html_url":"https://github.com/ncw/rclone/issues/577","id":164681887,"number":577,"title":"GoogleDrive: Move with filter to sub-directory deletes files","user":{"login":"monarchdodra","id":1911406,"avatar_url":"https://avatars.githubusercontent.com/u/1911406?v=3","gravatar_id":"","url":"https://api.github.com/users/monarchdodra","html_url":"https://github.com/monarchdodra","followers_url":"https://api.github.com/users/monarchdodra/followers","following_url":"https://api.github.com/users/monarchdodra/following{/other_user}","gists_url":"https://api.github.com/users/monarchdodra/gists{/gist_id}","starred_url":"https://api.github.com/users/monarchdodra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monarchdodra/subscriptions","organizations_url":"https://api.github.com/users/monarchdodra/orgs","repos_url":"https://api.github.com/users/monarchdodra/repos","events_url":"https://api.github.com/users/monarchdodra/events{/privacy}","received_events_url":"https://api.github.com/users/monarchdodra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-09T19:30:48Z","updated_at":"2016-07-09T19:30:48Z","closed_at":null,"body":"Just lost a month's/4GB worth of photos. The files I can restore the files themselves from backup, but my albums, shares and related metadata are wrecked.\r\n\r\nFurthermore, I validated with dry run this would work correctly, but the dry run did not actually list all operations (see below).\r\n\r\nIn particular, I'd have wished any deleted files would appear in my trash. I did not find a \"use trash\" option, which would have been nice.\r\n\r\nThis is a spectacularly bad experience for me.\r\n\r\n> What is your rclone version (eg output from `rclone -V`)\r\nrclone v1.30\r\n\r\n> Which OS you are using and how many bits (eg Windows 7, 64 bit)\r\nUbuntu 16.04 LTS\r\n64\r\n\r\n> Which cloud storage system are you using? (eg Google Drive)\r\nGoogle Drive\r\n\r\n> The command you were trying to run (eg `rclone copy /tmp remote:tmp`)\r\nrclone move --include '*201601*' nous:Photos/2016 nous:Photos/2016/2016-01\r\n\r\n> A log from the command with the `-v` flag (eg output from `rclone -v copy /tmp remote:tmp`)\r\nSince the files were deleted, here is a log with other files (useless info grepped out):\r\nrclone move -v --include '*Monde*' nous:Photos/2016 nous:Photos/2016/2016-01\r\n\r\n2016/07/09 21:05:40 rclone: Version \"v1.30\" starting with parameters [\"/bin/rclone\" \"move\" \"-v\" \"--include\" \"*Monde*\" \"nous:Photos/2016\" \"nous:Photos/2016/2016-01\"]\r\n2016/07/09 21:06:39 TapisMondeOxybul.jpg: Moved\r\n2016/07/09 21:06:39 Waiting for deletions to finish\r\n2016/07/09 21:06:58 \r\nTransferred:            0Bytes (0Byte/s)\r\nErrors:                 0\r\nChecks:                 0\r\nTransferred:            1\r\nElapsed time:     1m17.7s\r\n\r\n2016/07/09 21:07:19 2016-01/TapisMondeOxybul.jpg: Deleted\r\n2016/07/09 21:07:21 \r\nTransferred:            0Bytes (0Byte/s)\r\nErrors:                 0\r\nChecks:                 1\r\nTransferred:            1\r\nElapsed time:     1m40.6s\r\n2016/07/09 21:07:21 Go routines at exit 6\r\n\r\nI'm noticing \"2016-01/TapisMondeOxybul.jpg: Deleted\": Are we deleting the destination file !?\r\n\r\nAlso, with --dry-run:\r\n2016/07/09 21:15:08 rclone: Version \"v1.30\" starting with parameters [\"/bin/rclone\" \"move\" \"-v\" \"--dry-run\" \"--include\" \"*Eau*\" \"nous:Photos/2016\" \"nous:Photos/2016/2016-01\"]\r\n2016/07/09 21:15:48 TableSableEauOxybul.jpg: Not moving as --dry-run\r\n2016/07/09 21:15:48 Waiting for deletions to finish\r\n2016/07/09 21:16:10 \r\nTransferred:            0Bytes (0Byte/s)\r\nErrors:                 0\r\nChecks:                 0\r\nTransferred:            1\r\nElapsed time:      1m1.6s\r\n\r\n2016/07/09 21:16:10 TableSableEauOxybul.jpg: Not deleting as --dry-run\r\n2016/07/09 21:16:20 \r\nTransferred:            0Bytes (0Byte/s)\r\nErrors:                 0\r\nChecks:                 0\r\nTransferred:            1\r\nElapsed time:     1m12.2s\r\n2016/07/09 21:16:20 Go routines at exit 6\r\n\r\nNotice how this time, \"TableSableEauOxybul.jpg: Not deleting as --dry-run\" the deleted file does not see, to be the destiation file"}}
{"actor":{"display_login":"monarchdodra"}}