微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

fql 文件操作

程序名称:fql

授权协议: 未知

操作系统: 跨平台

开发语言: C/C++

fql 介绍

这个工具可以让你像操作数据库一样操作文件

fql:
fql is a tool that use sql like query to manipulate files.

example:
fql “select time, size, name from ../”
fql “select * where name = fql.cc”
fql “select * where not name = fql.cc”
fql “select time, size, name from . where size > 2.5k and size < 3k order by
size desc”

available columns to select:
name
path
perms
size
inode
uid
gid
uname
gname
atime
time : same as atime
mtime
ctime

supported Syntax:
select [attrs]
from [folder]
where [expression]
order by [attrs]
limit [[start,] limit]

Make (libreadline is optional):
./configure && make

Install:
copy ./fql to where you like such as /usr/local/bin/.
or make install

fql 官网

https://github.com/dccmx/fql

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐