Deleting Multiple Folders

Is it possible to delete the multiple folders I have selected?

The usual way is :-
Create an account say "default".
Login with "default" and set up that account exactly how you want all the users to get. For example dock settings and browser home page etc.
Tidy up the account, empty the trash, delete recent servers, clear browser caches etc.
Login as root
Delete the keychain of the "default" account.
Copy all the home folders of default to /System/Library/User Template/English.lproj
Run repair permissions
Now all new users will get these home folders and settings when they logon.
Now all you have to do is use a script that deletes the home folders of a students when they logout
so they then get the default set when they login again.
Here is an example of one :-
#!/bin/sh
rm -r /Users/$1
N.B. OS X uses the variable $1 for the currently logged in user.
The easiest way to get this running when they logout out, is to use Mike Bombich's loginwindow manager. It complains a bit when you open it to set it up, but it still does the job with login and logout scripts.
Also have a look at this thread on edu_geek :-
http://www.edugeek.net/forums/mac/72443-how-create-os-x-default-profile-template -bind-ad-10-5-10-6-a.html

Similar Messages

  • Ability to delete multiple folders

    Ability to delete multiple folders

    This happened to me as well, the mail toolbar disappeared. I had an Exchange mail account that seemed to cause the problem. I went into the General settings under the Mail, Contacts, and Calendars; turned all the setttings under the Exchange account from 'ON' to 'OFF', which fixed it. Then I went back in and re-activated the Exchange account. It fixed the issue for me. Good luck!

  • How to delete multiple folders in organizer 12

    I have several duplicates of photos that I somehow created. I need to delete lots of duplicates. I see how to do it one folder at a time. However I have hundereds ! There must be a way to select more than one folder at a time for deletion. Anyone know how or if it can (or cannot) be done ?

    As you have probably seen, deleting a whole folder or many files in one batch is a long process. So, it makes sense to select the max amount of files to be deleted and run the deletion when you are not busy with the Organizer. It's reasonably quick to select all the files of a given folder and assign a 'to be deleted' keyword, so if you can assign that keyword to the contents of many folders, you'll be able to select by the keyword and let the deletion be processed while you are away.
    Note that deleting from catalog only or also from the drive are about as long.
    Another way if you want to physically delete from drive, would be to do it outside of the organizer.
    - Be sure you don't have missing files (not connected ones)
    - delete from the drive
    - Run the 'reconnect process' and use the menu to select all and delete all from catalog.
    Warning : with big catalogs (10 000 items or more), deleting many items will take a very long time and possibly abort without deleting anything.
    See:
    http://feedback.photoshop.com/photoshop_family/topics/elements_organizer_unable_to_delete_ a_big_number_of_files
    Both ways described above take the same time and have the above limitation.
    As usual, when deleting many items, doing a full backup before is highly recommended .

  • How can "multiple folders/files" be deleted in ONE PSEXEC COMMAND LINE

    I can delete remote folders/files via bat command with psexec (below) but; 
    It takes a little time because of the 9 different folders. Maybe, looping of txt file can be used for different folders.
    So how we can delete multiple folders in ONE PSEXEC COMMAND LINE?
    Here my working code but it does its job in 9 steps :(
    psexec \\%PC% cmd /c "for /d %%a in ("c:\Users\1*.*") do rd /s /q "%%a""
    psexec \\%PC% cmd /c "for /d %%a in ("c:\Users\2*.*") do rd /s /q "%%a""
    psexec \\%PC% cmd /c "for /d %%a in ("c:\Users\3*.*") do rd /s /q "%%a""
    psexec \\%PC% cmd /c "for /d %%a in ("c:\Users\4*.*") do rd /s /q "%%a""
    psexec \\%PC% cmd /c "for /d %%a in ("c:\Users\5*.*") do rd /s /q "%%a""
    psexec \\%PC% cmd /c "for /d %%a in ("c:\Users\6*.*") do rd /s /q "%%a""
    psexec \\%PC% cmd /c "for /d %%a in ("c:\Users\7*.*") do rd /s /q "%%a""
    psexec \\%PC% cmd /c "for /d %%a in ("c:\Users\8*.*") do rd /s /q "%%a""
    psexec \\%PC% cmd /c "for /d %%a in ("c:\Users\9*.*") do rd /s /q "%%a""
    \_(ツ)_/ twitter.com/serdaruzun

    I think it is:psexec \\%PC% cmd /c "for /l %%n in (1;1;9) do for /d %%a in ("c:\Users\%%n*.*") do rd /s /q "%%a""
    \_(ツ)_/ twitter.com/serdaruzun

  • How to delete multiple copies of photo in events folders

    Is their a quicker way to delete multiple copies of the same photos without having to go to the photo and hit the delete key.

    You can select multiple photos and drag them all to the iPhoto trash at once (and then empty the iPhoto trash)
    Or you can use Duplicate Annihilator - http://www.brattoo.com/propaganda/ - if you have lots
    LN

  • How do you delete entire folders of pictures in the image editing software instead of one at a time!

    Don't know how I did it, but I imported 11,000 pictures into the new image editing software - none of which I took with my new powershot sx50 hs.  I can only delete the ONE AT A TIME - HELP!!  Anyway to delete entire folders? 

    Thank you for your reply.  I did not get an 'advanced guide' on the CD... I just got 89 page user guide.
    About deleting, you can not select multiple pics (by holding control key).  You can only delete ONE at a time.  I don't have time to delete 11, 137 pictures.
    OH MY!  Love the camera but paid too much for it not to be able to use the software.  Thanks again.

  • Import 800K photos (many duplicates) into Aperture from multiple folders in one hard drive.

    I have a hard drive with 800,000+ photos in it, many are duplicates after I have made multiple back-ups to different drives over the years and then transferred all the photos to this new drive. The photos are located in different folders but are all in the same hard-drive. How do a import the photos in the easiest/fastest way? How will they get sorted, by date? Is there anyway that I could delete the duplicates without losing photos? I have many photos with the same file name (but from different cameras), tumbnails, edited photos etc.
    Very thankful for your assistance!

    Hi,
    You can import photos from multiple folders.
    Just click File >> Get Photos and Videos >> From Files and Folders
    Now select the folders you want to import photos from (they should be at same level in the directory, say all folders in My Pictures) using Ctrl+Click, tick the checkbox for 'Get Photos from subfolders' if not already checked and then click 'Get Media'.
    Hope that will help
    Thanks
    andaleeb

  • How to open multiple folders and read file?

    Hello,
    I try to use this bridge script. The script work very well for me but some times I have multiple folders.
    Now script work that:
    1. Read file in folder
    2. Save text file and show me popup with full quadrature
    http://forums.adobe.com/message/3996179?tstart=56
    1. Open folder
    2. Read file
    3. Close folder
    4. Read next folder
    5. Read file
    6. Close folder
    7. ....
    8. Save text file with all folders and show me popup with full quadrature
    Please help!
    Best regards.

    Lightwave wrote:
    I don't think you guys are hearing my question. I can see how to restore a single file or folder.
    I want to restore ALL the changed or deleted files and folders since my last backup (but not the entire disk, that would be unnecessary)
    Were all (or most) of the items in, say, your Documents folder, or your Music folder? If so, you can restore the whole folder via TM. That will put all sub-folders and files back exactly the way they were at the time of the backup. You just have to be careful to pick the right backup (date & time).
    Or, if they were scattered through your Home Folder, you can restore that entire folder in the same way.
    If you've made changes subsequent to that backup, however, they will be lost in the process. What you can do in that case is, restore to a different location, then compare the two folders, and drag & drop what you want. (To restore to a different location, select the folder in TM, then click the "gear" icon in the TM Finder window, and select +Restore <item selected> to ...+ and you'll be prompted for a restore location.)

  • Document in multiple folders

    Hi,
    Long time ago (I believe version 1.x) I saw so demo from IFS by Oracle that provides to make a document part of multiple folders.
    At this moment I have installed both WebStarterApp and WebStarterApp2, but both does not show me this.
    Have anyone an example of this in JSP
    or can anyone describe me how to make this in JSP based on Webstarterapp(2).

    This is one of the reasons that tags were added to Mavericks. This exact scenario is why tags/keywords are heavily used to organize photos. You put the file in one folder, and then you use tags so you can find it in different ways.
    For example, you could simply organize documents in folders by date, then tag them appropriately ("tax", "receipt", "business", "travel", "medical" etc.) And then, you could for example create Smart Folders that gather up each type of tag automatically. So if you wanted all receipts that document medical expenses for your tax return, you could create a Smart Folder where the criteria is:
    "Tags" "Contains" medical"
    "Tags" "Contains" "tax"
    "Tags" "Contains" "receipt"
    and the Smart Folder will populate itself with a list of the files (not the files themselves, but virtual shortcuts to them)
    Aliases work too, but I find them much harder to manage, especially when the source document is renamed or deleted.

  • Delete multiple Bookmarks while keeping Bookmarks Bar and Opening Tabs

    Hello.
    I want to delete a lot of bookmarks from my Bookmarks Panel, but can only seem to do so one at a time.
    I have accumulated hundreds of bookmarks that I don't need. But I want to keep my Bookmarks Bar in which I have a series of folders containing all the Bookmarks I use. I also open Safari in about 11 or so Tabs and I want to keep those too.
    Under 'Collections' in my Bookmarks left hand panel I have my Bookmarks Bar and a few other items - History, Bonjour, RSS Feeds etc. I want to keep all of these. But below this group is another very large list of 'Bookmarks'. I'd like to delete all of those bookmarks in one go, or at least in groups of multiple bookmark deletions. But I can't find any way to do so.
    Deleting the Bookmarks.plist deletes everything including all my folder-based Bookmarks Bar contents.
    Is there any way to select just the extra Bookmarks for deletion?
    Thanks.

    You did not need to purchase Prariefire for $6.99 to delete multiple bookmarks in Safari. This is a ripoff app for what you can easily do in Safari for free.  All you needed to do is select the bookmarks to delete by single tap on your touchpad, or left click on your mouse, and hold down the shift key to select a range of bookmarks to delete; then simply press the "delete" key on your keyboard and the bookmarks will be deleted.  If you want to delete various bookmarks not in a single range, simply hold down your command key and select the bookmarks to delete and then press the "delete" key on your kepboard to delete them.
    Dave

  • How to delete Multiple Artists in one action?

    Hi,
    I want to do a big clean up on an iTunes library with over 4000 albums.
    How can I delete multiple Artists in one action?
    It looks like I can only delete 1 Artist at a time, and then this action shoots me to the top of the list.  Which is a pain then having to scroll back down through such a huge list to then delete the others one at a time... each time being shot back to the top of the list.
    For example I have the following artists;
    The Alarm 01 – 1 song
    The Alarm 02 – 1 song
    The Alarm 03 – 1 song
    The Alarm 04 – 1 song
    The Alarm 05 – 1 song
    The Alarm 06 – 1 song
    And I want to delete them all in 1 action.
    Can this be done?  How best to do it?
    Thanks in advance,
    Dave

    You can't delete "artists" - just songs (or songs grouped into albums).  When iTunes displays the library or a playlist in Artists view it is doing so using the metadata values set in the relevant songs.  If you're looking at this view:
    then your selections in the left pane - the artists list - is filtering what you see on the right.  When you select Delete via the keyboard or via a right-click operation, you are initiating an operation to delete the songs by that artist.  To delete songs by more than one artist in a single operation you'll need to select and delete in Albums view:
    or in Songs view:
    where you can also use the Column Browser to filter songs by multiple artists:

  • Is there a way to delete multiple pictures at the same time from the iphone4s?

    Is there a way to deleter multiple pictures at the same time, from my iphone4s? I know how to delete one at a time. Thanks

    Open your Photos App > Camera Roll > At the top right corner you will see a rectangle with a right arrow, select that. Now you can select as many photos as you want and you can hit the red Delete button on the bottom right.

  • My itunes will not work at all. i have deleted and reinstalled in over ten times, i have ended the process, i have reinstalled quicktime i few times, i have deleted many folders. What else can i do? Please help:(

    My itunes will not work at all. i have deleted and reinstalled in over ten times, i have ended the process, i have reinstalled quicktime i few times, i have deleted many folders such as TEMP, itunes helper et What else can i do? Please help:(

    Now it sometimes keeps coming up and working but once i plug an ipod in it freezes my whole computer up and no i dont get any response from itunes at all

  • How to delete multiple old ITUNES LIBRARY files safely ?

    I'd like to clean up my Itunes LIBRARY files, but don't know what's safe to do and not to do. (I have Itunes 8.1 / OSX10.4.11)
    MY QUESTION IS TWOFOLD :
    (1) how do I create a new Itunes library file now with today's date; and
    (2) how do I delete multiple (old) Itunes library files, without risking the loss of what I've got ?
    This all stems from exploring Itunes as a result of a problem I had today... when trying to import mp3's from my terrabyte drive, after about 150 successful mp3 track imports, Itunes froze and everything else on my MAC froze as well (constant spinning colored wheel). After many failed attempts to force quit Itunes, I turned off my MBPro. On restarting, Itunes tooks ages to "import" files. Eventually Itunes opened but with only half of my original tunes (1500+ songs 8.11GB) and had nothing from today's import.
    I found a post suggesting to hold down OPTION while starting Itunes. Then I selected a file from my hard drive > me > music > Itunes > "Itune library" with the most recent date and shezam, Itunes once again has all my songs, as before. Nothing I imported from the terrabyte drive today appears however, but no matter.
    In my "Itunes" file there appear MULTIPLE Itunes libraries ! such as Itunes library, Itunes Library (damaged), and as well a folder called "Previous Itunes Libraries" which itself contains multiple Itunes Library files and multiple "previous Itunes Library files" with dates back to 2007. These I want to clean up and delete .... should I ? ... Can I ?
    I really could use some words of wisdom from the wise ! Thanks in advance

    Whenever you install a new version of iTunes and run it teh first time, iTunes will create a backup of the current iTunes library file and copy it into \Music\iTunes\Previous iTunes libraries, then update the iTunes library file in \Music\iTunes\ for the current version of iTunes.

  • Shortcut to close multiple folders in List View

    In the Finder, in list view, I have multiple folders open (using the triangle by the Folder name). I'd like to be able to close all the open folders at once. I know that holding Option while clicking the red Close button on a window will close multiple windows and I want to do something similar with the folders.
    I'm sure I knew how to do this once but can't remember now.
    Thanks,
    Steve

    Command-click or otherwise select all of them, and then push the left arrow key.
    (104961)

Maybe you are looking for