From 798dc9d6b85b8d64a008bb8545f2199febd32537 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Wed, 5 Jun 2024 19:35:42 +0700 Subject: [PATCH] feat: f2 exclude --- docs/2023-07-01-pastebin.html | 2 +- posts/2023-07-01-pastebin.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/2023-07-01-pastebin.html b/docs/2023-07-01-pastebin.html index e5dbf0e..4f8d05b 100644 --- a/docs/2023-07-01-pastebin.html +++ b/docs/2023-07-01-pastebin.html @@ -458,7 +458,7 @@ f2 --replace "{mtime.YYYY}{mtime. f2 --replace "{mtime.YYYY}{mtime.MM}{mtime.DD}_{mtime.H}{mtime.mm}{mtime.ss}_{xt.ImageSize}_{hash.md5}{ext}" --exec # Not include time -f2 --sort=mtime --replace "{xt.ImageSize}_{hash.md5}{ext}" --exec +f2 --exclude="\d+x\d+_[a-z\d]{32}" --sort=mtime --replace "{xt.ImageSize}_{hash.md5}{ext}" --exec # Remove space in directory f2 --find " " --replace "_" --string-mode --only-dir --exec diff --git a/posts/2023-07-01-pastebin.md b/posts/2023-07-01-pastebin.md index ed79cd5..65926ce 100644 --- a/posts/2023-07-01-pastebin.md +++ b/posts/2023-07-01-pastebin.md @@ -329,7 +329,7 @@ f2 --replace "{mtime.YYYY}{mtime.MM}{mtime.DD}_{mtime.H}{mtime.mm}{mtime.ss}_{ha f2 --replace "{mtime.YYYY}{mtime.MM}{mtime.DD}_{mtime.H}{mtime.mm}{mtime.ss}_{xt.ImageSize}_{hash.md5}{ext}" --exec # Not include time -f2 --sort=mtime --replace "{xt.ImageSize}_{hash.md5}{ext}" --exec +f2 --exclude="\d+x\d+_[a-z\d]{32}" --sort=mtime --replace "{xt.ImageSize}_{hash.md5}{ext}" --exec # Remove space in directory f2 --find " " --replace "_" --string-mode --only-dir --exec