Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TargetMacs #41

Open
captainhowdy1 opened this issue Oct 10, 2018 · 3 comments
Open

TargetMacs #41

captainhowdy1 opened this issue Oct 10, 2018 · 3 comments

Comments

@captainhowdy1
Copy link

Is there a way to have the JSON output print names of devices that I manually input into a seperate file?
For example, if I know that my android has a mac address of 1A:DC:5C:8E:15:7B, could I manually configure a file for the script to refer to so that while running it would associate 1A:DC:5C:8E:15:7B with "myandroid" and print out the name "myandroid" for me to quickly recognize rather than the mac address?

@schollz
Copy link
Owner

schollz commented Oct 10, 2018

You can use --targetmacs

@captainhowdy1
Copy link
Author

captainhowdy1 commented Oct 10, 2018 via email

@schollz
Copy link
Owner

schollz commented Oct 10, 2018

Oh, sorry I misunderstood your question. There is no way to do that in howmanypeoplearearound.

You can make sure that it only detects 1A:DC:5C:8E:15:7B by making a file and passing it with that mac.

E.g.

howmanypeoplearearound --targetmacs macs.txt

And macs.txt:

1A:DC:5C:8E:15:7B

You could easily change the name in post-processing though, via sed or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants