What is the MAC OS X prompt for "attrib -h -r -s /s /d g:\*.*"

mjlaws Posts 1 Registration date Friday May 29, 2015 Status Member Last seen May 29, 2015 - May 29, 2015 at 10:47 AM
 mjlaws - May 31, 2015 at 08:45 AM

I recently came across the solved problem for a virus causing all files in a USB folder to turn to shortcuts here: https://ccm.net/forum/affich-421592-files-on-flash-drive-changed-to-shortcuts

This does not seem to work in Mac Terminal, and I'm not sure what I am doing wrong or how the prompt should be changed?

1 response

xpcman Posts 19530 Registration date Wednesday October 8, 2008 Status Contributor Last seen June 15, 2019 1,830
May 30, 2015 at 06:05 PM
Since that's a DOS command it works only on Windows machines.
Do you know the MAC command?