GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Nathan Schneider (ntnsndr@social.coop)'s status on Saturday, 10-May-2025 06:05:12 JST Nathan Schneider Nathan Schneider

    I'm excited about this bash alias (anybody see any issues with it?):

    trash() {
    mv "$@" ~/.local/share/Trash/files/
    }

    In conversation about 8 days ago from social.coop permalink
    • Embed this notice
      sef (sef@social.coop)'s status on Saturday, 10-May-2025 06:18:50 JST sef sef
      in reply to

      @ntnsndr alias rm=trash

      In conversation about 8 days ago permalink
    • Embed this notice
      Nathan Schneider (ntnsndr@social.coop)'s status on Saturday, 10-May-2025 06:27:36 JST Nathan Schneider Nathan Schneider
      in reply to
      • sef
      • Ed Summers

      @edsu @sef say more

      In conversation about 8 days ago permalink
    • Embed this notice
      Ed Summers (edsu@social.coop)'s status on Saturday, 10-May-2025 06:27:37 JST Ed Summers Ed Summers
      in reply to
      • sef

      @sef @ntnsndr an abomination!

      In conversation about 8 days ago permalink
    • Embed this notice
      Luke T. Shumaker (lukeshu@social.coop)'s status on Saturday, 10-May-2025 08:56:26 JST Luke T. Shumaker Luke T. Shumaker
      in reply to

      @ntnsndr Back in the day (~2010?) there was `gvfs-remove`, but these days it looks like it's spelled `gio trash`.

      When I tried to replicate gvfs-remove's behavior w/ a script similar to yours, the biggest thing that jumps out at me is the possibility of accidentally overwriting files in the trashcan when deleting an identically-named file; instead of adding an "(n)" suffix (eg "filename (2).txt"). If you care about not losing things enough to do trash from the CLI, you probably care about this.

      In conversation about 8 days ago permalink
    • Embed this notice
      Nathan Schneider (ntnsndr@social.coop)'s status on Saturday, 10-May-2025 12:00:11 JST Nathan Schneider Nathan Schneider
      in reply to
      • Luke T. Shumaker

      @lukeshu @ntnsndr I actually already expanded the script to change the filename if one exists

      In conversation about 8 days ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.