Giter VIP home page Giter VIP logo

Comments (6)

Anagastes avatar Anagastes commented on July 21, 2024 2

With commit d34551f trash-put learned a --trash-dir option that can be used to specify the trash directory to be used as destination.

You can force the use of a specific trash typing:

trash-put --trash-dir /.Trash-1000 file-to-be-trashed

Please check it out and tell if it works for you.

I have now compiled the version because the Distris simply do not record it.

The variable works quite well, but you can't view this data with "trash-list", the default folder is always used.

So the variable would have to be implemented for the other functions as well. :)

from trash-cli.

andreafrancia avatar andreafrancia commented on July 21, 2024 1

With commit d34551f trash-put learned a --trash-dir option that can be used to specify the trash directory to be used as destination.

You can force the use of a specific trash typing:

trash-put --trash-dir /.Trash-1000 file-to-be-trashed

Please check it out and tell if it works for you.

from trash-cli.

a3nm avatar a3nm commented on July 21, 2024

I second this, it would be great to have a CLI parameter to force the location of the trash. My use case is that I want my trash to always reside on my home folder no matter on which filesystem the files were deleted, and I don't see how I could configure this...

from trash-cli.

cig0 avatar cig0 commented on July 21, 2024

Hello all, another +1 to this feature, here is my use case:
At work I manage a poorly-partitioned server on which I would like to manually choose the location of the trash directory.
Cheers.

from trash-cli.

Potherca avatar Potherca commented on July 21, 2024

👍 Sounds like a sensible proposal! 😸

from trash-cli.

a3nm avatar a3nm commented on July 21, 2024

Thanks for this change! I can test it when there is a new version of trash-cli that gets shipped with Debian and features the change.

from trash-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.