
Shell
AllenGates
好好编程
展开
-
make: Warning:错误的一种解决方法
将代码上传到一个Linux系统上进行编译时报错: make: Warning: File 'a.out' has modification time 2007 s in the future g++ -c sampen_test.cpp -o test.o g++ -c sampen.cpp -o sampen.o make: warning: Clock skew detected. Your build may be incomplete. 这是因为代码是在笔记本上写的,而Linux系统没有联网。原创 2022-02-26 01:29:06 · 900 阅读 · 0 评论 -
Linux下用find查找并复制指定文件到指定目录下
Linux下用find查找并复制指定文件到指定目录下 find . -iname "*.doc" -type f -exec cp {} /tmp/doc \; 实例,即使目录有空格也可以 参考链接错误,评论问更正 Linux下用find查找并复制指定文件到指定目录下原创 2022-02-17 00:00:27 · 5349 阅读 · 0 评论