当前位置:网站首页>How to find file accessed / created just feed minutes ago
How to find file accessed / created just feed minutes ago
2022-07-07 02:55:00 【Rich in starch】
problem :
I always forget which file I edit one minutes ago, so I input find . -cmin 1
I always forget the file I edited a minute ago , So I entered find . -cmin 1
find . -cmin 1
or some other value but it worked exactly 1
minutes.find . -cmin 1
Or some other value , But it just works 1
minute .I had to try find . -ctime 2 /*or 3,4...*/
I have to try find . -ctime 2 /*or 3,4...*/
find . -ctime 2 /*or 3,4...*/
.find . -ctime 2 /*or 3,4...*/
.
Then I find another approach which be better: Then I found another better way :
touch -t 12251134 empty /*similar format which 5 or 10 minutes ago */find . -newer empty
I can use date -d'-5minutes' +%m%d%H%M
caculate the time for me. I can use date -d'-5minutes' +%m%d%H%M
Calculate my time .I want to know if there is a simple way to find files accessed 1, 2 or 3... minutes ago. I wonder if there is a simple way to find 1,2 or 3 Files accessed minutes ago .
Solution :
Reference resources : https://stackoom.com/en/question/wsPc边栏推荐
- ERROR: Could not find a version that satisfies the requirement xxxxx (from versions: none)解决办法
- Redis introduction complete tutorial: replication principle
- PSINS中19维组合导航模块sinsgps详解(初始赋值部分)
- Detailed explanation of 19 dimensional integrated navigation module sinsgps in psins (initial assignment part)
- Unity webgl adaptive web page size
- wzoi 1~200
- c语言字符串排序
- 数字滚动增加效果
- [2022 national tournament simulation] polygon - computational geometry, binary answer, multiplication
- Mmdetection3d loads millimeter wave radar data
猜你喜欢
The 8 element positioning methods of selenium that you have to know are simple and practical
一文读懂Faster RCNN
Redis入门完整教程:复制拓扑
Babbitt | metauniverse daily must read: is IP authorization the way to break the circle of NFT? What are the difficulties? How should holder choose the cooperation platform
Redis getting started complete tutorial: replication configuration
[secretly kill little partner pytorch20 days] - [Day1] - [example of structured data modeling process]
Linear list --- circular linked list
Redis入门完整教程:AOF持久化
普通测试年薪15w,测试开发年薪30w+,二者差距在哪?
Digital scrolling increases effect
随机推荐
Unity使用MaskableGraphic画一条带箭头的线
The 8 element positioning methods of selenium that you have to know are simple and practical
MES管理系统的应用和好处有哪些
普通测试年薪15w,测试开发年薪30w+,二者差距在哪?
How to design interface test cases? Teach you a few tips to draft easily
c语言字符串排序
[2022 national tournament simulation] polygon - computational geometry, binary answer, multiplication
Hash table and full comments
widerperson数据集转化为YOLO格式
Summary of research status of inertial navigation calibration at home and abroad (abridged version)
Mmdetection3d loads millimeter wave radar data
哈希表及完整注释
[software test] the most complete interview questions and answers. I'm familiar with the full text. If I don't win the offer, I'll lose
Cloud Mail .NET Edition
Oracle中日期的使用方法实例
Redis入门完整教程:客户端管理
安全交付工程师
Read fast RCNN in one article
Leetcode:minimum_depth_of_binary_tree解决问题的方法
Redis入门完整教程:复制原理