Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Help making shell script for basic command
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ericconn" data-source="post: 1452278" data-attributes="member: 252713"><p>I need to make a shell script for a command to create aliases for 500 folders in 500 parent directories. I've found one page that was useful (<a href="http://www.alvinpoh.com/how-to-make-and-run-batch-files-in-terminal-in-mac-osx/" target="_blank">http://www.alvinpoh.com/how-to-make-and-run-batch-files-in-terminal-in-mac-osx/</a>), however I need to put the aliases on several computers, and once the aliases made with that script are off my computer, the aliases are "dead," due to rights permissions, I assume.</p><p></p><p>The command works when I copy and paste the commands one by one into Terminal, but I'd rather not do that.</p><p></p><p>Example of folder structure</p><p>server/</p><p>.......people/</p><p>.............person1/</p><p>.............person2/ etc.</p><p></p><p>Example of command being used</p><p>ln -s "/Volumes/server/people/person1" /shortcuts/</p><p></p><p>Thanks for any help.</p></blockquote><p></p>
[QUOTE="ericconn, post: 1452278, member: 252713"] I need to make a shell script for a command to create aliases for 500 folders in 500 parent directories. I've found one page that was useful ([url]http://www.alvinpoh.com/how-to-make-and-run-batch-files-in-terminal-in-mac-osx/[/url]), however I need to put the aliases on several computers, and once the aliases made with that script are off my computer, the aliases are "dead," due to rights permissions, I assume. The command works when I copy and paste the commands one by one into Terminal, but I'd rather not do that. Example of folder structure server/ .......people/ .............person1/ .............person2/ etc. Example of command being used ln -s "/Volumes/server/people/person1" /shortcuts/ Thanks for any help. [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Help making shell script for basic command
Top