Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.trash on mac #202

Closed
realitymolder opened this issue Dec 7, 2022 · 4 comments
Closed

.trash on mac #202

realitymolder opened this issue Dec 7, 2022 · 4 comments

Comments

@realitymolder
Copy link
Contributor

Partly bug / partly question(?)
Don't crucify me, at the moment the output of .trash is:

  This is probably a custom directory on your system.
  You can move the file to XDG_DATA_HOME/trash.

My question is: If that is also relevant to macOS, or is it Linux only? If it's Linux only, it needs to be fixed.
On macOS, the .trash folder is the user's system-trash folder.

Thanks

@b3nj5m1n
Copy link
Owner

b3nj5m1n commented Dec 8, 2022

If I understand correctly, you can't move the directory to XDG_DATA_HOME on macOS?

If that's the case, there should definitely be a note about this in the output.

@yochem
Copy link

yochem commented Mar 30, 2023

I'm not 100% sure, but I couldn't find any documentation on how to move the folder. As it's treated as a special folder under MacOS, I think it can not be moved.

@b3nj5m1n
Copy link
Owner

Thank you, I've added a note in cda9beb, if someone finds a way to move this directory, please open a PR or let me know!

@realitymolder
Copy link
Contributor Author

Good job. I think that will be it for now. If anybody will find a solution in the future (if there is any) we will update it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants