打jar包命令
jar cf xxx.jar -C com . -C org . -C rtx .(执行需要在上级目录执行 否则com这种文件夹会打不进去将文件夹里面的内容打到jar包中)
查找时间段之间修改的文件 拷贝到新路径下
find /path/to/source -type f -newermt 2024-10-08 ! -newermt 2024-10-09 -print0 | xargs -0 rsync -av --remove-source-files --include=‘’ --exclude='/’ /path/to/destination
** find /opt/ahjw/upload -type f -newermt 2023-09-19 ! -newermt 2023-10-11 -print0 | xargs -0 rsync -av --remove-source-files --include=‘’ --exclude='/’ /opt/ahjw/uploadnew**
find /opt/ahjw/upload -type f -newermt 2023-09-01 ! -newermt 2024-10-02 -exec cp {} /opt/ahjw/uploadnew ;
find “/opt/ahjw/upload” -type f -newermt “2023-09-01” ! -newermt “2024-10-02” -print0 | \ xargs -0 -I {} rsync -av --relative {} “/opt/ahjw/uploadnew”
授权可执行文件
chmon +x xxx.rpm
安装rpm包
sudo rpm -ivh xxx.rpm
下载rpm包 指定路径/opt/wk
sudo yumdownloader --destdir=/opt/wk xorg-x11-fonts-75dpi
发送请求
链接: curl -X POST -H “Content-Type: application/json” -d ‘{“method”:“xxxx”,“jgdz”:“xxx”,“nf”:“2024”}’ http://ip:port/xxxx/xxxx