• 首页
  • 期刊简介
  • 编委会
  • 投稿指南
  • 收录情况
  • 杂志订阅
  • 联系我们
引用本文:冯荷飞,孙 前.Linux下本地文件快速搜索工具设计与实现[J].软件工程,2018,21(2):18-20.【点击复制】
【打印本页】   【下载PDF全文】   【查看/发表评论】  【下载PDF阅读器】  
←前一篇|后一篇→ 过刊浏览
分享到: 微信 更多
Linux下本地文件快速搜索工具设计与实现
冯荷飞,孙 前
(浙江科贸职业技术学院,浙江 金华 321016)
摘 要: 本地计算机内文件数量逐年增长,并且文件和目录还处于不断的变化中,比如新增、删除、修改等,因 而用户想要快速定位到所需文件也是越发困难。随着Linux操作系统的推广,普通Linux用户更需要一款易用的本地文 件快速搜索工具。在业务逻辑模块中建立全盘索引、更新文件索引信息,采用Tkinter库设计图形用户界面,以SQlite嵌 入式数据库管理索引数据,并使用inotify接口调用Linux内核特性来监控文件系统的变化。基于此,本文使用Python语 言开发了一款轻量级的本地文件搜索工具,并能够方便普通Linux用户的快速搜索需求。
关键词: Linux;本地文件;搜索;快速
中图分类号: TP311    文献标识码: A
Design and Implementation of the Fast Searching Tool for Local Files in Linux
FENG Hefei,SUN Qian
( Zhejiang Vocational College of Technology and Trade, Jinhua 321016, China)
Abstract: Given that local files in computers increase year by year,and files and catalogues are in continuous changes,such as add,delete,modify,etc.,it becomes more difficult for users to fast locate the required documents.With the promotion of the Linux operating system,ordinary Linux users need an easy-to-use fast searching tool for local files.In the business logic module,the paper sets up index,updates file index information,uses Tkinter library to design GUI,manages data with SQlite embedded database,and applies Inotify interface to call Linux kernel characteristics to monitor file system changes.Based on this,this paper uses the Python language to develop a convenient local file searching tool,which can facilitate the rapid search requirements of ordinary Linux users.
Keywords: Linux;local files;search;fast


版权所有:软件工程杂志社
地址:辽宁省沈阳市浑南区新秀街2号 邮政编码:110179
电话:0411-84767887 传真:0411-84835089 Email:semagazine@neusoft.edu.cn
备案号:辽ICP备17007376号-1
技术支持:北京勤云科技发展有限公司

用微信扫一扫

用微信扫一扫