Last active
April 18, 2023 14:59
-
-
Save techedlaksh/2e07181dc09842a060f6806815b4b31a to your computer and use it in GitHub Desktop.
shell script to remove file attribute in macos, "file can not be changed because it is in use" error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -maxdepth 1 -type f \( -name "*.MOV" -or -name "*.mov" \) -exec echo {} \; -exec xattr -d com.apple.FinderInfo {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment