![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| logout script common for both Mac and Linux? | harsha10 | UNIX for Advanced & Expert Users | 0 | 06-27-2008 02:17 PM |
| run a script at logout | harsha10 | UNIX for Dummies Questions & Answers | 0 | 06-22-2008 08:01 AM |
| set schedule to run a script at background while logout | happyv | Shell Programming and Scripting | 1 | 01-24-2007 01:17 AM |
| Login and logout script | jhansrod | UNIX for Dummies Questions & Answers | 1 | 06-06-2005 06:54 AM |
| logout/shutdown script | ropers | UNIX for Dummies Questions & Answers | 1 | 08-02-2002 02:05 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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 : Code:
find . –name com.apple.sidebarlists.plist –exec rm -f {} \;
Is there a way to just run the command and targeting the current directory it is contained in? What would the syntax be to search the directory Library/Preferences? Thanks, AG Last edited by pludi; 3 Weeks Ago at 12:47 PM.. Reason: code tags, please... |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|