1 Star 0 Fork 0

xuhaowork / snippets-python-setup

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

English | 简体中文

简介

这是一个通过命令行管理文件备注的工具,有以下功能。

  • 给文件(夹)添加备注。
  • 查询添加备注的文件。
  • 查询指定目录下添加备注的文件。
  • 根据关键词搜索添加备注的文件。
  • 添加文件关系。
  • 查看与某个文件相关的文件。
  • 导出所有文件备注数据。

这个工具有一个缺点就是,一个文件被移动或重命名后,跟它的备注信息就关联不上了。

安装

  1. 安装python

    安装版本>=3.6的python

  2. 下载并安装本软件

    2.1 下载工程

    git clone https://github.com/wapping/FileNote.git
    cd FileNote

    2.2 以下方式二选一

    • 安装包安装
    pip install dist/FileNote-0.0.1-py3-none-any.whl
    • 源码编译安装
     python3 -m pip install --upgrade pip
     python3 -m pip install --upgrade build
     python3 -m build
     pip install dist/FileNote-0.0.1-py3-none-any.whl
  3. 测试

在命令行终端执行 fnote,确认是否成功安装 。

快速开始

  1. 给一个文件添加备注

fnote -a /path/to/your/file note

/path/to/your/file:你要备注的文件的路径,可以是相对路径。

note:你的备注。

  1. 查看一个文件的备注

fnote -pf -k keyword

keyword:关键词,可以是文件路径关键词,也可以是备注的关键词。

MIT License Copyright (c) 2021 wapping Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

一个python的setup项目,以供学习。 参考自github项目:https://github.com/wapping/FileNote 展开 收起
Python
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/xuhaowork/snippets-python-setup.git
git@gitee.com:xuhaowork/snippets-python-setup.git
xuhaowork
snippets-python-setup
snippets-python-setup
master

搜索帮助