{"action":"created","issue":{"url":"https://api.github.com/repos/fritz-smh/yi-hack/issues/23","repository_url":"https://api.github.com/repos/fritz-smh/yi-hack","labels_url":"https://api.github.com/repos/fritz-smh/yi-hack/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/fritz-smh/yi-hack/issues/23/comments","events_url":"https://api.github.com/repos/fritz-smh/yi-hack/issues/23/events","html_url":"https://github.com/fritz-smh/yi-hack/pull/23","id":149706286,"number":23,"title":"Create Script detele file or videos after few days","user":{"login":"garvarma","id":18529175,"avatar_url":"https://avatars.githubusercontent.com/u/18529175?v=3","gravatar_id":"","url":"https://api.github.com/users/garvarma","html_url":"https://github.com/garvarma","followers_url":"https://api.github.com/users/garvarma/followers","following_url":"https://api.github.com/users/garvarma/following{/other_user}","gists_url":"https://api.github.com/users/garvarma/gists{/gist_id}","starred_url":"https://api.github.com/users/garvarma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garvarma/subscriptions","organizations_url":"https://api.github.com/users/garvarma/orgs","repos_url":"https://api.github.com/users/garvarma/repos","events_url":"https://api.github.com/users/garvarma/events{/privacy}","received_events_url":"https://api.github.com/users/garvarma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-04-20T09:02:11Z","updated_at":"2016-05-13T11:07:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fritz-smh/yi-hack/pulls/23","html_url":"https://github.com/fritz-smh/yi-hack/pull/23","diff_url":"https://github.com/fritz-smh/yi-hack/pull/23.diff","patch_url":"https://github.com/fritz-smh/yi-hack/pull/23.patch"},"body":"Delete records from SD or device after X days, and generate a log file."},"comment":{"url":"https://api.github.com/repos/fritz-smh/yi-hack/issues/comments/219014660","html_url":"https://github.com/fritz-smh/yi-hack/pull/23#issuecomment-219014660","issue_url":"https://api.github.com/repos/fritz-smh/yi-hack/issues/23","id":219014660,"user":{"login":"coomsie","id":125121,"avatar_url":"https://avatars.githubusercontent.com/u/125121?v=3","gravatar_id":"","url":"https://api.github.com/users/coomsie","html_url":"https://github.com/coomsie","followers_url":"https://api.github.com/users/coomsie/followers","following_url":"https://api.github.com/users/coomsie/following{/other_user}","gists_url":"https://api.github.com/users/coomsie/gists{/gist_id}","starred_url":"https://api.github.com/users/coomsie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coomsie/subscriptions","organizations_url":"https://api.github.com/users/coomsie/orgs","repos_url":"https://api.github.com/users/coomsie/repos","events_url":"https://api.github.com/users/coomsie/events{/privacy}","received_events_url":"https://api.github.com/users/coomsie/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T11:07:40Z","updated_at":"2016-05-13T11:07:40Z","body":"Gidday,\r\n\r\nfor this to work for me .... below are the changes\r\n\r\n dir=\"/home/hd1/record/\"\r\n\r\ni.e. add '/' at end\r\n\r\ndu -sh ${dir} > ${dir}Delete_$dt.log\r\ndu -sh ${dir} >> ${dir}Delete_$dt.log\r\n\r\nremove the -b\r\n"}}