While the in-my-opinion easier to remember find-only version repeats the command every time: xattr -d /path/to/file1.webarchive xattr -d /path/to/fileN. Whenever the syntax allows for it such as in this case, xargs assembles one or more command lines such as xattr -d /path/to/file1.webarchive /path/to/fileN.webarchive iname '*.webarchive' -exec xattr -d '' \ ).Įxplanation of the efficiency difference: going through xargs ( -print0 | xargs -0) to avoid problems with filenames containing spaces and other special characters (a similiar goal can be accomplished with slightly reduced efficiency by using find.located in the current directory and its subdirectories (.Jeff Carlson shows you how to share, copy, move and delete files, goes over Finder essentials, and explains how to find files with Spotlight. will remove ( xattr -d) the extended attribute Files are the foundation of working within OS X, and you can make them work to your advantage.iname '*.webarchive' -print0 | xargs -0 xattr -d
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |