Search Results

Search: Posts Made By: AGGreenLinux
7,677
Posted By AGGreenLinux
rm command
Can you execute a rm command within a script to speed up the process?

Can the file be locked at login, how do you free it up to delete?
7,677
Posted By AGGreenLinux
Ampersand
When using & - how can you stop it from processing..You need to go into terminal for it to complete..
7,677
Posted By AGGreenLinux
more info
So I am basically running this ..

Login.sh

/Library/Directory/login1.sh &

Login1.sh

find ~ . -name com.apple.sidebarlists.plist -exec rm -f {} \;

This does not hang up on login,...
7,677
Posted By AGGreenLinux
Logout script worked...
find ~ . -name com.apple.sidebarlists.plist -exec rm -f {} \;

The above worked- the ~ helped to search only the users folder. Note: these are users' on the network that connect to Mac server.
...
7,677
Posted By AGGreenLinux
delete file
Deleting is the easy part....
History of this:
We run an AD environment with MACs running 10.3.9 and 10.4.11

The com.apple.sidebarlists.plist sets up differently when logging onto either OS....
7,677
Posted By AGGreenLinux
Logout script - delete a file
Good evening you scripting guru's!

I have the following script to delete a file on logout of a Mac :
find . –name com.apple.sidebarlists.plist –exec rm -f {} \;

It works fine in terminal...
Showing results 1 to 6 of 6

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