Remove com.apple.sidebarlists.plist from 450 user accounts

I have moved my Users data to a new drive and all of the users are able to login and authenticate, however, the users get an error message on attempting to access their items from the sidebar. The solution I have found is to remove the com.apple.sidebarlists.plist and the sidebar and home directory then works fine. What I need is the UNIX command to remove the .plist file from 450 user accounts. Thanks -Eric

Funny you ask this - because I just went through the same thing with 500 user accounts. But Roger's looks a little more elegant than mine...
Here is my script - this one is for all users in one folder:
dir=/Volumes/diskname/restofpath
filename=com.apple.sidebarlists.plist
destdir=Library/Preferences
for user in `ls $dir`
do
echo Removing sidebar for $user
echo rm $dir/$user/$destdir/$filename
done
This one is for users in subfolders (or group folders):
dir=/Volumes/diskname/restofpath
filename=com.apple.sidebarlists.plist
destdir=Library/Preferences
for subdir in `ls $dir`
do
for user in `ls $dir/$subdir`
do
echo Removing sidebar for $user
echo rm $dir/$user/$destdir/$filename
done
done
One caveat - it didn't seem to work when the users were currently logged in.
Good luck!

Similar Messages

  • Sidebar inoperable and missing com.apple.sidebarlists.plist file

    My sidebar seems to be 'broken'. Originally I had a few extra folders added to it along with the usual drives and home folders etc, but whenever I tried to add another folder, or re-arrange the existing ones, it would simply revert back the next time I logged in.
    I followed a few suggestions on here and deleted the com.apple.finder.plist file, and I looked for 'com.apple.sidebarlists.plist' on my computer, but couldn't find it - could this be the problem?
    Having deleted the com.apple.finder.plist my sidebar has reverted to it's 'out of the box' form, but loses any customisation on restart - ie reverts back to it's default.
    Annoying, since I use this feature a lot. Any suggestions, short of a full re-install?!!!

    Having this exact problem, and posted on it a while ago in this forum. Never found a solution that was short of reinstalling Snow Leopard.
    I restored from a Time Machine backup once but of course that gave exactly the same behaviour.
    I've finally decided to do something about it again after trying to live with it but I really need this function to speed up my workflow.
    Similarly to the OP I have created separate accounts which do not suffer from the problem - they retain any customisations once restarted.
    Also, I cannot find the com.apple.sidebarlists.plist file. I'm going to try the same steps suggested here and will report back - in the meantime however if you have managed to solve the problem another way I would be very interested.
    I had thought that setting up a new account and transferring over all of my files might be the way to do it but am quickly running into issues (for example, transferring an iTunes library and retaining ratings / playcounts etc....).

  • After installing Mavericks I had problems copying to the server. Was advised to remove the com.apple.finder.plist from Preferences. This worked - but now I have lost the menu bar from my second screen! How do I get that back?

    I have tried re-inserting the com.apple.finder.plist into my Preferences folder and re-booting - this didn't work.

    First, that cannot be an iBook G4 as that machine cannot run Snow Leopard let alone Mountain Lion.  To run Snow Leopard it has to be an Intel processor, not a G4.  What does it show as the Model Identifier in About This Mac, More Info, System Report, Hardware, Model Identifier?
    Second, if you have erased the hard drive there should not be remnants of any prior content.  Even though Disk Warrior is saying nothing is wrong with the hard drive, it sounds as though there are problems.  You may want to consider simply replacing the hard drive so there are no questions about faults.  A good source is OWC, http://www.macsales.com where they also have on-line videos showing how to do the replacement.
    Third, you could also try again to restart using the Snow Leopard DVD/CD and use Disk Utility on that install disk to erase again, and do it a couple times, then try to install.  If it continues to refuse, then it sounds as though there is a fault with the hard drive.

  • Location of com.apple.sidebar.plists ?

    Does anyone know where I can find the file "com.apple.sidebar.plists?
    It is apparently meant to be under preferences but I can't see it for the life of me. Looking to edit it.

    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Preferences/com.apple.sidebarlists.plist.
    Thanks to leonie for some information contained in this.
    If you plan to delete it, restart after deleting it. Mavericks caches .plists and a restart is required.

  • Deleting the com.apple.iTunes.plist?

    Greetings.
    iTunes will not recognize my iPod classic and freezes with My user ID (The iPod does show up in my finder). It does not happen with my wife as user; iPod is visible and connects to iTunes without difficulty.
    I have been told to delete the com.apple.iTunes.plist under my user ID, then to restart the iMac. However, the problem remains. I have looked at the tech documents, uninstalled and re-installed iTunes, upgraded to iTunes 10...all without success. Does anyone have a suggestion on how to get my user ID on the same page so iTunes will recognize the iPod?
    Thanks.

    This is probably too little, too late but there is also an iTunes plist file(s) located at
    ~/Library/Preferences/ByHost/com.apple.iTunes.605A79F2-A0DD-423E-9C65-C9FB9E1F6B CC.plist
    N.B. The "605A79F2-A0DD-423E-9C65-C9FB9E1F6BCC" is a UUID so each instance will be different.
    Don't know if that will solve the problem but you never know.

  • TS1846 I have some troubles recently with Final Cut Pro 7 and would like to remove my preferences. I can't find any "com.apple.finalcutpro.plist" file from the Preferences folder but I do have some preferences.  So, where could be the file ?

    I have some troubles recently with Final Cut Pro 7 and would like to remove my preferences. I can't find any "com.apple.finalcutpro.plist" file from the Preferences folder but I do have some preferences.  So, where could be the file ?

    Digital Rebellion has you covered: http://www.digitalrebellion.com/prefman/

  • HT5149 Hi, I still have problems reinstalling Final Cut Pro even though I followed these steps. Didn´t find "com.apple.motionapp.plist" to remove though, but the others I found. Reason why I have to reinstall is because I have repaired my Macbook Pro hard

    Hi, I still have problems reinstalling Final Cut Pro even though I followed these steps.
    Reason why I have to reinstall is because I have repaired my Macbook Pro hard drive at a Mac Authorized Repair.
    Short history of repair and my Final Cut Pro installation:
    1. Macbook Pro stopped working, sendt it for repair. Had the Final Cut Pro installed,
    2. Desided to try a MiniMac and recovered my backup with Time Machine, got the Final Cut Pro working.
    3. Got my Macbook Pro back from repair, did backup on this one as well. But this time only the files not the Applications.
    4. Removed the files as mentioned in HT5149. Didn´t find "com.apple.motionapp.plist" to remove though, but the others I found.
    5. When I try to install Final Cut Pro from App Store, it downloads the application as planned. But after download it won´t show in the Application folder nor in the downloads folder, nor will it start an installation prosess. If I pause the installation in App Store, I can see the Final Cut Pro icon in my Dock. (But, as mentioned, after installation it won´t show neither here or in the Applications folder).
    Any suggestions on what I should try now?
    Thanks for any reply, I´m in deep water here...

    Sounds like there is a file you're not getting.  Never do a removal manually.  It's so time consuming and a pain.  There's a very easy and fast way to do this, safely, properly.
    Get the free "Final Cut Remover" app from Digital Rebellion (dot com), use this to remove FCP X.
    Reboot the Mac.
    Download from scratch.
    If you're not seeing FCP X in your app folder, run Disk Utility to Repair all drives.
    If that doesn't help, try running Disk Warrior from Altsoft to repair the directories on all drives.

  • Cant find com.apple.logic10.plist in library preferences

    I cant find in my Library preferences "com.apple.logic10.plist"

    That is in fact where the com.apple.logic10.plist resides.
    There is a second method.
    In the Finder, choose Go > Go to Folder from the menu.
    Type ~/Library/Preferences in the "Go to the folder" field.
    Press the Go button.
    Remove the  com.apple.logic10.plist  file from the Preferences folder. Note that if you have programmed any custom key commands, this will reset them to the defaults. You may wish to export your custom key command as a preset before performing this step. See the Logic Pro User Manual for details on how to do this.
    If you are having trouble with a control surface in Logic Pro.
           then delete the com.apple.logic.pro.cs file from the preferences folder.

  • After upgrading to Mountain Lion, I repurchased Garageband and I can't get passed the complete installation. I don't seem to have the "com.apple.garageband.plist" file that has been a common solution. Any suggestions?

    After upgrading to Mountain Lion, I repurchased Garageband and I can't get passed the complete installation. I've read through several posts that all reference the "com.apple.garageband.plist" solution. I don't seem to have the referenced .plist. Any solutions or suggestions?

    Did you upgrade from SnowLeopard?
    I can't get passed the complete installation
    What exactly is happening? Is GarageBand trying to download over and over again?
    all reference the "com.apple.garageband.plist" solution. I don't seem to have the referenced .plist.
    The property list stores your preferences, but also the settings from the last run of the application.  If that file is corrupted in some way, you might see third behaviour.
    You must have this file, for it will be recreated automatically, if it is missing, or you have a permissions problem with your user library.
    Perhaps you did look in he wrong place.
    in MacOS 10.7. or later the User Library is hidden. To find the Preferences Files use the Finder's "Go" menu:
    Quit GarageBand, if it is running.
    Click onto you Desktop to bring the Finder forward.
    In the Finder Menu press "Go" and hold down the "option/alt" key, until your user library appears in the drop-down menu
    Select "Library" and in the Finder window that opens navigate to the "Prederences" folder; move com.apple.garageband.plist to the Desktop.
    Log off and on again (don't skip that step!). Retry GarageBand and see if it GarageBand is now downloading the missing content properly.
    If that does not fix the problem, post back and explain in more detail what the download problem is.
    Why did you "repurchase" GarageBand? If you already owned GarageBand '11, it should be unnecessary.
    Regards
    Léonie

  • After i had my hard drive replaced, i've gone to get my old emails and am unable to find them on time machine. The file com.apple.mail.plist isn't there. HELP!

    Pretty sure this will be some sort of user error, but i'm lost.
    I had to have my hard drive replaced, so before taking it to the genius bar, i backed up using time machine. I'd had issues with trying to use Carbon Copy Cloner previously so had formatted the external drive before doing time machine. TM seemed to work fine and copied what looked to be everything. Once i'd got the new hard drive in and went to restore everything, when i looked for the file i need to get to apparently get my mails back (Library > Preferences > com.apple.mail.plist) it's not there.
    Any help would be MASSIVELY appreciated.
    J

    Turn Time Machine OFF temporarily in its preference pane. Leave the window open.
    Navigate in the Finder to your backup disk, and then to the folder named "Backups.backupdb" at the top level of the volume. If you back up over a network, you'll first have to mount the disk image file containing your backups by double-clicking it. Descend into the folder until you see the snapshots, which are represented by folders with a name that begins with the date of the snapshot. Find the one you want to restore from. There's a link named "Latest" representing the most recent snapshot. Use that one, if possible. Otherwise, you'll have to remember the date of the snapshot you choose.
    Inside the snapshot folder is a folder hierarchy like the one on the source disk. Find one of the items you can't restore and select it. Open the Info dialog for the selected item. In the Sharing & Permissions section, you may see an entry in the access list that shows "Fetching…" in the Name column. If so, click the lock icon in the lower right corner of the dialog and authenticate. Then delete the "Fetching…" item from the icon list. Click the gear icon below the list and select Apply to enclosed items from the popup menu.
    Now you should be able either to copy the item in the Finder or to restore it in the time-travel view. If you use the time-travel view, be sure to select the snapshot you just modified. If successful, repeat the operation with the other items you were unable to restore. You can select multiple items in the Finder and open a single Info dialog for all of them by pressing the key combination option-command-I.
    When you're done, turn TM back ON and close its preference pane.

  • Library/Preferences/com.apple.alf.plist---Should be 80, group is 0

    I am new to the Mac world, so please bear with me.  I have freeze up issues with beachballs delux on my mid 2011 21.5 iMac with 2.5 GHz Intel Core I5 processor. When I run repairing permissions, it resolves the problem for a few days, but then returns back to the same problem.   It says "Library/Preferences?Com.apple.alf.plist.     Should be 80, group is 0 
    Can anyone tell me how to resolve this freeze up problems?  I origiginally had Lion operating system and when I upgraded to Mountain Lion the issue was better, but did not totally cure this.

    The next time you have the problem, note the exact times when it starts and ends: hour, minute, second.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Scroll back in the log to the time you noted above. Post any messages timestamped during that interval – the text, please, not a screenshot.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

  • Can't find com.apple.desktop.plist file in Preferences folder.

    I have three desktop spaces, and I have them randomly changing backgroud from a selection of pictures in a folder. To quickly find out which picture was currently use for each desktop, I have a AppleScript that returns some infomation within the com.apple.desktop.plist file. This has been working perfectly fine in Mountain Lion.
    However, after I installed the Mavericks (clean install from scratch), my script no longer works. The background images can be changed as before, but there's no com.apple.desktop.plist file exist anywhere in my hard drive.
    Does anyone run into similar problems as me? It's driving me nuts! I can't think of any reason that there shouldn't be such a file... Thank you very much!

    The returned file name from your terminal command "sqlite3 ~/Library/Application\ Support/Dock/desktoppicture.db '.dump' | grep jpg" is the file name of my current desktop picture "Earth and Moon.jpg".
    The returned file names from your script:
    set theResult to "Space 1 Wallpaper: ~/Pictures/Background/" & (do shell script"sqlite3 ~/Library/Application\\ Support/Dock/desktoppicture.db \"SELECT data.value FROM preferences INNER JOIN data on preferences.key=16 and preferences.picture_id=3 and preferences.data_id=data.ROWID\"") & "
    Space 2 Wallpaper: ~/Pictures/Background/" & (do shell script "sqlite3 ~/Library/Application\\ Support/Dock/desktoppicture.db \"SELECT data.value FROM preferences INNER JOIN data on preferences.key=16 and preferences.picture_id=5 and preferences.data_id=data.ROWID\"") & "
    Space 3 Wallpaper: ~/Pictures/Background/" & (do shell script "sqlite3 ~/Library/Application\\ Support/Dock/desktoppicture.db \"SELECT data.value FROM preferences INNER JOIN data on preferences.key=16 and preferences.picture_id=7 and preferences.data_id=data.ROWID\"")
    display dialog theResult buttons {"Done"} default button 1
    are
    Space 1 Wallpaper: ~/Pictures/Background/3439B
    Space 2 Wallpaper: ~/Pictures/Background/5244B
    Space 3 Wallpaper: ~/Pictures/Background/5244B
    The return from your terminal command "find ~/Pictures/iPhoto\ Library.photolibrary/Masters -name filename.jpg" is
    find: /Users/Peter/Pictures/iPhoto Library.photolibrary/Masters: No such file or directory
    The return from your terminal command "
    readlink -f ~/Library/Caches/com.apple.preference.desktopscreeneffect.desktop/69730752/DSKiPhotoRootSource-allPhotosAlbum/9419B" is
    readlink: illegal option -- f
    usage: readlink [-n] [file ...]
    I do have a little app (Script) which did exactly what I needed under OS X Mountain Lion but because under Mavericks Apple changed the location of the wallpaper information to a SQLite database this app is not working anymore. I could send you this app if you want but I do not know how to do this via this forum.
    Thanks again for your help.

  • Remove password from main user account on os x 10.8

    How do i remove password from main user account on os x 10.8
    Thank you
    John

    http://support.apple.com/kb/HT1274

  • Problems with slow finder and com.apple.finder.plist

    I have four users in my marketing department, all running Mac Pros with 10.6. and Adobe CS5 and some other software for design work. Each one has a slowness issue using the Finder (by itself and inside programs (ie, within Photoshop and going to Open)) when accessing our network drives.  Other people, including myself, can access those same directories without slowness.
    'Slowness' is an understatement. What would normally take a second is taking 5 to 10 minutes to show content in folders. 
    When I delete "com.apple.finder.plist" off their systems, and reboot, everything snaps back to being speedy, but it doesn't last and they need to remove that file once a day.
    I have two saved plist files before they deleted it, but I don't know what do look for when I view the contents with a plist editor.
    Can anyone offer some suggestions on why this could be happening? Or how can I view and see what this file is being hung up on?

    Download and run all the cleaning and maintainence aspects of the free OnyX while each machine is offline and reboot, leave offline until all are completed and then put them back online.
    See if that clears the issue or reveals some more issues with the checks.
    http://www.macupdate.com/app/mac/11582/onyx
    OnyX also has a plist checker under Verify.

  • Deleted com.apple.windowserver.plist

    Hi everyone.
    I deleted the com.apple.windowserver.plist, under preferences and the longer version under my user profile.
    Supposidly,the system would recreate these files on restart.  It has not and the files are gone.
    Now I can't enable quartz extreme, or do anything with these files.
    Does anyone have an idea on how to get them back?
    p
    This is on a powerbook g4 1.5ghz .  1 meg of ram.  10.5.8

    I'm in a similar situation
    I don't think you can be. The PowerBook that the OP owns is a completely different architecture from the MacBook Pro. Your best bet is to start a new thread in the MacBook Pro forums here:
    MacBook Pro
    I know some forums flame you for starting a new thread but the new thread works best here. You get help with your issue without diluting the attention the OP seserves.
    Also, some experienced posters will not even look at threads with multiple questions from different people; it's simply to hard to keep sorted after a while.
    Be sure to include your MBPs model variant and the Mac OS version in your new post. That will save people having to ask for it and you'll get help faster.
    Best wishes!

Maybe you are looking for

  • Using USB printer on Sun Ray 2

    Can someone direct me to a document or explain how I can configure the Sun Ray Software to allow me the ability to print to a USB printer attached to a Sun Ray 2 thin client. I believe this is possibele using the USB redirection utility but only when

  • Acrobat 9 Pro and Windows 7

    I recently purchased a new laptop with Windows 7 (64 bit), and then installed Acrobat 9 Pro. When i opened a document in Word 2010 and tried to access PDF Settings, Word crashed. I could 'print' but then no bookmarks were created. I ran a compatibili

  • What is the correct way to import AVCHD into Final Cut Express?

    The Final Cut Expres user manual (p. 221) says to import AVCHD footage with HDV Apple Intermediate Codec: "Important: Use the HDV - Apple Intermediate Codec Easy Setup for ingesting AVCHD footage." But, Easy Setup has options for both HDV AIC AND AVC

  • Execution of class_constructors in subclass

    hi all, i'm new to abap objects but the testing the code below puzzles me.  can anyone explain why if i execute WRITE b=>d, the sub class_constructor is not executed?  i would expect that after executing the super c-c, the sub c-c is next.  as expect

  • Deploying a resource adapter

    Hello, i have developed and successfully deployed a resource adapter. But as i went on developing i encountered some strange behaviour. In the DeployTool that i used to deploy the adapter i have build the archives again and deployed the EAR to the WA