Skip to content

Instantly share code, notes, and snippets.

@lukexie
Last active January 17, 2018 01:40
Show Gist options
  • Save lukexie/4d88ac0b19473f0820c0545a244303e3 to your computer and use it in GitHub Desktop.
Save lukexie/4d88ac0b19473f0820c0545a244303e3 to your computer and use it in GitHub Desktop.
#!/bin/bash
find . -type f -printf "%s\t%p\n" | grep 213
# %s file size in byte
# %p filename
# 或
find . -type f -size 213c -printf "%s\t%p\n"
# 213 加 c 表示 byte, 未加則為 block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment