Coder Social home page Coder Social logo

linux-trash-nodejs's Introduction

linux-trash-nodejs

概述

Linux系统上的回收站。

安装

  1. 前往linux-trash-nodejs下载.tar.gz压缩包
  2. .tar.gz压缩包上传到Linux系统上
  3. 执行tar -xvf linux-trash-nodejs-1.0.4.tar.gz解压,注意不同压缩包版本不同
  4. 执行cd linux-trash-nodejs-1.0.4命令进入到linux-trash-nodejs目录下
  5. 执行npm install命令安装需要用到的第三方模块
  6. 执行npm install . -g命令全局安装
  7. 执行export PATH=/usr/local/node.js/bin:$PATH命令配置环境变量,注意node.js环境变量位置可通过find / -name trash查找

使用

trash --help

Usage: trash [options]

Options:
  -v, --version                  版本信息
  -r, --remove <file|directory>  将指定文件或目录移到回收站
  -l, --list                     列出回收站文件
  -c, --clear                    清空回收站
  -d, --delete <file|directory>  删除回收站指定文件或目录
  --restore <file|directory>     还原回收站指定文件或目录
  -h, --help                     display help for command

linux-trash-nodejs's People

Contributors

lck100 avatar

Watchers

 avatar

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.