Search Results

Search: Posts Made By: jscan
3,780
Posted By jscan
the directory didn't exist when i ran the script....
the directory didn't exist when i ran the script. those errors happened when i ran the script for the first time.

Nanuet, huh? that's just a few miles away. I'm here in Englewood!
3,780
Posted By jscan
the script manually works, but it returns these...
the script manually works, but it returns these errors:


/Library/Scripts/rms_web2.sh: line 9: /Users/admin/Library/Application Support/RMS: is a directory
/Library/Scripts/rms_web2.sh: line 10:...
3,780
Posted By jscan
/Library/Scripts/rms_web.sh: line 4: [:...
/Library/Scripts/rms_web.sh: line 4: [: /Users//Library/Application: binary operator expected
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file target_file
cp [-R [-H | -L | -P]]...
3,780
Posted By jscan
@ DGPickett - it looks like syntax errors, likely...
@ DGPickett - it looks like syntax errors, likely caused by the fact that i have no idea what i'm doing :-)

i tweaked everything, went back to square one, re-did everything in bash, and i'm...
3,780
Posted By jscan
i'm losing my mind over this! if i run the...
i'm losing my mind over this!

if i run the following script in ANY local user's account, it works just fine.

#!/bin/tcsh -f

## Properties
set defGrp = staff
set td =...
3,780
Posted By jscan
you're probably right. i'll try it with the...
you're probably right. i'll try it with the change.
3,780
Posted By jscan
it works, except for the "check to see if the...
it works, except for the "check to see if the directory is already there" part. i haven't tested that part yet. that's my afternoon "fun" today.

can you recommend a good bash book? i need to...
3,780
Posted By jscan
@DGPickett - every one of my efforts at linking...
@DGPickett - every one of my efforts at linking have failed. i don't know much about it, but i can say with certainty that i have had NO luck with getting the linking to work. not even the glimmer...
3,780
Posted By jscan
i THINK i might have gotten it... ...
i THINK i might have gotten it...

#!/bin/tcsh -f

## Properties
set defGrp = staff
set td = "~/Library/Application\ Support/RMS"

if ( -d {td} ) then
echo ""
else
cp -R...
3,780
Posted By jscan
Good idea, but I tried that yesterday, and it...
Good idea, but I tried that yesterday, and it didn't work. it doesn't want a link. when it sees the link, it errors. having the actual directory there was the only thing that worked.
3,780
Posted By jscan
Clarification
Thanks, DGPickett for your response. It would appear that I didn't properly explain what was wrong, though. i'll explain specifically what's wrong below:

*application for music (school play is...
3,780
Posted By jscan
NOOB - Scripting to make an App work
Hello everyone.

i work in a school and i ran into an application today that is a real pickle. i know how to make it work, but i would need to script it. The way to make it work would be to...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 07:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy