rm ã§ã´ãç®±ã«ãã¡ã¤ã«ã移åãã
trash-cli ã使ã£ã¦ã¿ãã
(ref. ubulog: ubuntuのゴミ箱をコマンドラインから操作する)
ã»ããã¢ããã¯ä»¥ä¸ã®ããã«ããã
Download - trash-cli - Download and Install instructions - Command line interface to the freedesktop.org trashcan. - Google Project Hosting ãã¸ãããã½ã¼ã¹ããã¦ã³ãã¼ããã¦ããã
(Ubuntu intrepid ã§ã¯å
¬å¼ã®ãªãã¸ããªã«å
¥ããããã)
é©å½ã«å±éãã¦ã¤ã³ã¹ãã¼ã«ã
% tar zxvf trash-cli-0.1.10.r55.tar.gz % cd trash-cli-0.1.10.r55 % cat <<END > makefile install: python setup.py install END % sudo checkinstall
ããã¦ã.zshrc ã«ä»¥ä¸ã追è¨ã
alias rm=trash
trash-cli ã®ä½¿ãæ¹ã¯ä»¥ä¸ã«è¼ã£ã¦ã¾ãã
trash-cli - Command line interface to the freedesktop.org trashcan. - Google Project Hosting