Movatterモバイル変換


[0]ホーム

URL:


Other Pages

Other Software/Code by Me

Unmaintained Software

trash icon

trash

This is a small command-line program for OS X that moves files or folders to the trash.

By default,trash asks Finder to move the specified files/folders to the trash instead of calling the system API to do this because of the"put back" feature that only works when trashing files through Finder. If you compiletrash by running the commandmake USE_SYSTEM_API=1 the generated build will always first try the system API and only call on Finder to trash files the user lacks access rights for. See myblog post for more info on some initial implementation details and design decisions.

You can installtrash viaHomebrew:

brew install trash
Source code is available in aGit repository(click here to show/hide):

Repository URL:
https://github.com/ali-rantakari/trash

Repository web page:
https://github.com/ali-rantakari/trash

Example:
cd ~/mycode
git clone https://github.com/ali-rantakari/trash

Copyright © 2010 Ali Rantakari


[8]ページ先頭

©2009-2025 Movatter.jp