I'm getting the message Error: verb 'chmod' not recognized when trying to run a chmod command [MACOS]

146 views Asked by At

This is what I'm trying to run in the terminal to grant executable rights for something I found on github. The steps I'm supposed to take are: "Browse to where you extracted the file and give it executable rights in the terminal". What am I doing wrong? I assumed chmod was a standard command. I'm also extremely new to using terminal.

Macs-MBP-2:~ REDACTED$ /Volumes/Backup\ Plus/Youtube/Raw\ Files/TwitchDownloaderCLI chmod +x TwitchDownloaderCLI TwitchDownloaderCLI 1.51.1 Copyright (C) 2023 TwitchDownloaderCLI

ERROR(S): Verb 'chmod' is not recognized.

--help Display this help screen.

--version Display version information.

Macs-MBP-2:~ REDACTED$

I have tried researching how to use chmod. I have tried re introducing the file directory. I have tried setting up the command in a different way.

1

There are 1 answers

2
Jonathan Dodds On

I suspect you want to run:

cd /Volumes/Backup\ Plus/Youtube/Raw\ Files

to change directory (cd is 'change directory') to the location of the file.

Then run chmod on the file in the directory:

chmod +x TwitchDownloaderCLI

But it would appear that TwitchDownloaderCLI is already executable because the error message is the TwitchDownloaderCLI tool complaining that it doesn't understand the sub-command chmod.