Skip to content

Instantly share code, notes, and snippets.

View techedlaksh's full-sized avatar
🏠
Finding the right opportunities

Laksh Arora techedlaksh

🏠
Finding the right opportunities
View GitHub Profile
@techedlaksh
techedlaksh / remove_attribute.sh
Last active April 18, 2023 14:59
shell script to remove file attribute in macos, "file can not be changed because it is in use" error
find . -maxdepth 1 -type f \( -name "*.MOV" -or -name "*.mov" \) -exec echo {} \; -exec xattr -d com.apple.FinderInfo {} \;