[Feelings & Sharing] a bit of water
Tofloor
poster avatar
Lwh2008-Equinox
deepin
2024-08-12 05:27
Author

added a command in cloudflare pages, This is convenient for me to upload hexo at the same time to delete unnecessary files

find . -type f -not -path "./public/\*" -delete && mv public/\* . && rmdir public

very simple and stupid,isn't it?

but its useful for me...so, it is solved my problem,its a good solution...

PS:The DDoS traffic to all my websites was only 397.09 GB, and I think the upward trend will not be too strong in the future...But I can't give a definite answer about sth happen in future...i'll watch the dash per 10minjoy

Reply Favorite View the author
All Replies
Lwh2008-Equinox
deepin
2024-08-12 05:28
#1

PS:the original cmd:find . -type f -not -path "./public/*" -delete && mv public/* . && rmdir public

md editor edited the cmd...

Reply View the author
Lwh2008-Equinox
deepin
2024-08-12 05:39
#2

FK the Win11

Sougo is 'fake dead'...2h

emm,want to migrate to ifly

Reply View the author
艾丝妲单推人
deepin
2024-08-12 08:26
#3

joy 你英文帖子怎么发中文区来了

Reply View the author
Lwh2008-Equinox
deepin
2024-08-12 12:16
#4
艾丝妲单推人

joy 你英文帖子怎么发中文区来了

习惯了,我昨天电脑里面的搜狗输入法假死俩小时。。。
MD,打算换讯飞了(就是不知道怎么批量迁移常用语)
Reply View the author