Skip to content
/ xattr Public

A script to modify attributes for multiple macOS files.

Notifications You must be signed in to change notification settings

mavcook/xattr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

xattr

A script to add attributes to macOS files. Currently only works with the tags attribute.

Use

Requirements

macOS Python 2.7 or greater


For an easy way to pass in the list of files, after entering the -f flag, enter in qoute, then drag a selection of files from Finder into the terminal, and close with another qoute.

Select your files in Finder, and drag

python xattr.py -a "coolpic;coolertag" -f "/Users/indy/lostarkpics/henry.jpg /Users/indu/lostarkpics/leapoffaith.png"

Options

-o
overwrite a the existing attributes

Troubleshooting

Currently does not work for filepaths with spaces in them.

About

A script to modify attributes for multiple macOS files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages