Skip to content

a shell script to list files to different texts judged by date line

Notifications You must be signed in to change notification settings

JaysonHwang/date-compare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

date-compare

Shell脚本实现根据文件的访问时间来分类

用法

./date-compare.sh DATELIMIT [<FILE]

实例

1.带 <FILE 参数

./date-compare.sh 20151109 <files.txt

files.txt文件中的内容是一行行的具体文件的路径。例如:/data/a/b/c/x.txt

2.不带 <FILE 参数

./date-compare.sh 20151109

然后从键盘输入具体的文件路径,比如:

/data/a/b/c/x.txt
/data/a/b/c/y.txt
(ctrl+D结束输入)

About

a shell script to list files to different texts judged by date line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages