mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-01-17 15:02:10 +00:00
Remove script for fastlane check
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
dir="fastlane"
|
||||
size="500"
|
||||
name_filter="${1:-}"
|
||||
|
||||
find_cmd=(find "$dir" -type f -size +"${size}c")
|
||||
if [[ -n $name_filter ]]; then
|
||||
find_cmd+=(-name "$name_filter")
|
||||
fi
|
||||
find_cmd+=(-print0)
|
||||
|
||||
# find: -type f (files), -size +Nc (N bytes, + means strictly greater)
|
||||
# print0/xargs -0 to safely handle filenames with spaces/newlines
|
||||
|
||||
# macOS stat: "%z %N" => size and filename
|
||||
"${find_cmd[@]}"| xargs -0 stat -f "%z %N"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user