Skip to content

Instantly share code, notes, and snippets.

View mohanreddy7892's full-sized avatar
🏠
Working from home

unix notes mohanreddy7892

🏠
Working from home
View GitHub Profile
=IFERROR(
XLOOKUP(
TRUE,
ISNUMBER(SEARCH(TRIM(LOWER($C$2:$C$375)),LOWER(TRIM(E2)))),
$B$2:$B$375,
""
),
""
)
for f in Remp*; do [[ -f "$f" && "$f" != *.gz ]] && gzip -9 "$f"; done