Skip to content

Instantly share code, notes, and snippets.

@idiomer
Created November 24, 2020 08:05
Show Gist options
  • Save idiomer/9bd1f3afa77bafb01e09b764e8141880 to your computer and use it in GitHub Desktop.
Save idiomer/9bd1f3afa77bafb01e09b764e8141880 to your computer and use it in GitHub Desktop.
utils.sh
# 删除7天前的文件夹(和文件? [-type f]),这些文件夹以dt=开头
/usr/bin/find /tf/outside/allen.zhou/new_novel_ctr/data/doReader_bookChapterInfo/ -mtime +7 -name 'dt=*' | xargs rm -rf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment