Title: Need port Clear-RecycleBin cmdlet · Issue #6778 · PowerShell/PowerShell · GitHub
Open Graph Title: Need port Clear-RecycleBin cmdlet · Issue #6778 · PowerShell/PowerShell
X Title: Need port Clear-RecycleBin cmdlet · Issue #6778 · PowerShell/PowerShell
Description: We need port Clear-RecycleBin` cmdlet. We already have Clear-RecycleBin code for Windows but we should fix issue #6743. On Linux and MacOs we should implement the cmdlet. Related links from Electron for MacOs https://github.com/aichingm/...
Open Graph Description: We need port Clear-RecycleBin` cmdlet. We already have Clear-RecycleBin code for Windows but we should fix issue #6743. On Linux and MacOs we should implement the cmdlet. Related links from Electro...
X Description: We need port Clear-RecycleBin` cmdlet. We already have Clear-RecycleBin code for Windows but we should fix issue #6743. On Linux and MacOs we should implement the cmdlet. Related links from Electro...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/6778
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Need port Clear-RecycleBin cmdlet","articleBody":"We need port Clear-RecycleBin` cmdlet.\r\n\r\nWe already have Clear-RecycleBin code for Windows but we should fix issue #6743.\r\nOn Linux and MacOs we should implement the cmdlet.\r\n\r\nRelated links from Electron\r\n- for MacOs https://github.com/aichingm/electron/blob/893fc2cd539cb4ccef01833a1209696e448df8d9/atom/common/platform_util_mac.mm#L155\r\n- for Linux https://github.com/aichingm/electron/blob/893fc2cd539cb4ccef01833a1209696e448df8d9/atom/common/platform_util_linux.cc#L91\r\n\r\nMacOs API https://developer.apple.com/documentation/foundation/nsfilemanager/1414306-trashitematurl?language=objc\r\n\r\nFrom @mklement:\r\n> However, the Cocoa Foundation framework only supports _moving an item_ to the trash, it doesn't support _emptying_ the trash.\r\n\r\n>Hence my suggestion to [use command-line utility `osascript` with a piece of AppleScript](https://github.com/PowerShell/PowerShell/issues/6743#issuecomment-385289473) for simplicity.\r\n\r\n>We _could_ do it in-process, because you can [call AppleScript from Cocoa too](https://stackoverflow.com/a/5334535/45375), but I'm not sure it's worth the effort - unless it's trivial to call Cocoa from .NET Core - I have not looked into it.\r\n\r\n","author":{"url":"https://github.com/iSazonov","@type":"Person","name":"iSazonov"},"datePublished":"2018-04-30T18:09:38Z","url":"https://github.com/PowerShell/PowerShell/issues/6778"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:85c77795-5230-ceea-f3f7-ef99f91272de |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D2EC:203470:3049A0:4206AD:6AFD654A |
| html-safe-nonce | fdfeaa6f1706807ef50c92d128fbd45ad5d8d60430c50c79d048e9303c5392d5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkVDOjIwMzQ3MDozMDQ5QTA6NDIwNkFEOjZBRkQ2NTRBIiwidmlzaXRvcl9pZCI6IjE0MDgzMTk3NDM3OTM2NTMwNjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fb13e100634ca82206ba4c28f0d726a3fc248e5e2cd870c5195afa8dfa4f8208 |
| hovercard-subject-tag | issue:318982556 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/6778/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d710241c1e40ae928f6425a05e79f6ab7c09df65a9ded3eee23f6147a25748a7/PowerShell/PowerShell/issues/6778 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d710241c1e40ae928f6425a05e79f6ab7c09df65a9ded3eee23f6147a25748a7/PowerShell/PowerShell/issues/6778 |
| og:image:alt | We need port Clear-RecycleBin` cmdlet. We already have Clear-RecycleBin code for Windows but we should fix issue #6743. On Linux and MacOs we should implement the cmdlet. Related links from Electro... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iSazonov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42a67d7c7488271ca8d7e6dc3942424e6de3bff43b1ed4a9c6f0e1a69b73b389 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5c3779ac05f3590d8d7ea0c02b14e678ae8179ae |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width