Shortcut for deleting contents of folder?

Anyone know of a shortcut to delete contents of a folder without deleting the folder itself? I would like to select multiple folders and trash the contents, but keep the folders and names intact.

Well, I am not very experienced in this area, but if I were in your place I would see whether I could use Automator (or Applescript, for that matter) to perform this task. It sure seems like Automator should be able to do this without too much trouble. Of course, depending upon your experience, it may take longer to figure out how to make the workflow in Automator (or write the Applescript) than to do the whole thing manually. It is possible, I guess, that someone has already constructed such a thing and you could find it with an internet search.
charlie

Similar Messages

  • Apple Mail creating a new keyboard shortcut for delete

    In Gmail I can hit the "D" key to delete saves much time. 
    In Apple Mail I have to hit the delete key which is on the right side of the keyboard and my right hand is busy with the track pad scrolling. I want to create a keyboard shortcut for delete something like option D any easy left handed shortcut will work.  Sys pref/keyboard shortcuts/mail doesn't work, Any suggestions?

    Hello!
    I don't know about mouse shortcuts, but you can put a delete button in the top bar of Mail, like so:

  • What is the keyboard shortcut for "delete row" in a table?

    What is the keyboard shortcut for "delete row" in a table within a pages document?

    Click on the row number to select the entire row. Right-click, and select Delete Row from the menu. There is no keyboard shortcut.

  • Shortcut for "delete image" is now "delete thousands of images" -- Why?

    So I've been using since v1 and since then [CMD] + [Delete] has been the shortcut to delete the selected image. Suddenly upon finally upgrading from v2 to v3 I hit [CMD] + [Delete] as I've done many, many times before only to have it, without prompt, delete my ENTIRE PROJECT. It's a large project... several thousand images... all seemingly wiped out.
    This leaves me with a number of questions. The least of which... WHY?! Why change something so basic and of little consequence into something with potentially catastrophic results? My next question, are my files really gone? They don't seem to have been moved to the trash and I can't seem to locate them by browsing through the library.
    Any thoughts or suggestions? "Vault" excluded, please.

    Hmm… I just tested this (on a test project obviously!!) and CMD-Delete has the following behavour:
    • If a picture is highlighted the picture moves to the trash.
    • if a project is highlighted the project moves to the trash.
    In both cases I can hit Undo and revert without a hitch. i can also go to the Trash and bring back the items (picture OR project).
    So on my end nothing has changed from prior versions except for the - welcome - addition of the Trash which provides an extra layer of security. Something's not right…
    Try relaunching Aperture while holding the command-option keys and repairing the database.

  • Change shortcut for delete word forward

    Two questions about using Preferences > keyboard > shortcuts to rename an existing shortcut (for textedit and pages):
    1) How do I know the "Menu Title" for an existing shortcut?  Is there a reliable listing of shortcut titles?
    2) How do I enter "ctrl+delete" into the "Keyboard Shortcut" field?  Right now it is just ignoring it.
    Thank you!
    larry

    Hey larryfromwashu,
    Here are some resources for creating keyboard shortcuts in Yosemite.  The answers to your questions are in bold.
    OS X: Keyboard shortcuts - Apple Support
    http://support.apple.com/en-is/HT201236
    OS X Yosemite: Create keyboard shortcuts for apps
    http://support.apple.com/kb/PH18418
    OS X Yosemite: Create keyboard shortcuts for apps
    Assign your own shortcuts to menu commands in any app or in the Finder
    Assign your own keyboard shortcuts to menu commands in any OS X app, including Finder. This might be useful if a global shortcut, which works the same with most apps, conflicts with a specific app shortcut. In this case, you could assign a different key combination. 
    You can only create keyboard shortcuts for existing menu commands. You cannot create keyboard shortcuts for general purpose tasks such as opening an app. 
    Choose Apple menu > System Preferences, then click Keyboard.
    Click Shortcuts, select App Shortcuts, then click Add (+).
    Click the Application pop-up menu, then choose an app. If you want to set the same key combination for a menu command that appears in many apps, choose All Applications. 
    If the app you want to select doesn’t appear in the list, choose Other, then locate it using the Open dialog. Some apps may not allow you to set keyboard shortcuts. 
    Type the menu command for which you want to set a keyboard shortcut in the Menu Title field.
    You must type the command exactly as it appears in the Application menu, including ellipses and any other punctuation. To type an ellipsis, use three periods without spaces. 
    Click in the Keyboard Shortcut field, press the key combination that you want to assign to the menu command, then click Add (+). 
    You can’t use each type of key (for example, a letter key) more than once in a key combination.
    Quit and restart any apps you’re using for the new keyboard shortcut to take effect.
    If you assign a keyboard shortcut that already exists for another command or another app, your new shortcut won’t work. Find the menu command that’s using it, then reassign the keyboard shortcut for that item. 
    To remove a customized shortcut, click Delete (–).
    Last Modified: Nov 18, 2014
    OS X Yosemite: If a keyboard shortcut doesn’t work
    http://support.apple.com/kb/PH18424
    See and change keyboard shortcut assignments in Keyboard preferences
    It’s possible to have keyboard shortcuts for one app that conflict with another app. For example, Command-Space bar opens the Spotlight menu, but in another app it might be used for switching between different input methods. 
    Choose Apple menu > System Preferences, then click Keyboard.
    Click Shortcuts. A yellow warning triangle appears next to conflicting keyboard shortcuts. Click the shortcut, then change it. 
    Last Modified: Nov 18, 2014
    Have a great day!
    - Judy

  • Powershell creates shortcut for every exe in folder

    So i have a script to create a shortcut onto the desktop but i just found out that i need it to create shortcuts for multiple .exe's in a folder and for the life of me i can't figure out how to do this. below is what i have .Powershell$TargetFile = "c:\shared\*.exe"$ShortcutFile = "$env:homedrive\Desktop\test\*.lnk"$WScriptShell = New-Object -ComObject WScript.Shell$Shortcut = $WScriptShell.CreateShortcut($ShortcutFile)$Shortcut.TargetPath = $TargetFile$Shortcut.Save()Powershell$TargetFile = "c:\shared\*.exe"$ShortcutFile = "$env:homedrive\Desktop\test\*.lnk"$WScriptShell = New-Object -ComObject WScript.Shell$Shortcut = $WScriptShell.CreateShortcut($ShortcutFile)$Shortcut.TargetPath = $TargetFile$Shortcut.Save()

    1. what is a transient variable?A transient variable is a variable that whose value is not going to be serialized2. What is synchronization?With respect to multithreading, synchronization is the capability to control the access of multiple threads to shared resources.Without synchronization, it is possible for one thread to modify a shared object while another thread is in the process of using or updating that object’s value. This often leads to significant errors.3. What’s new with the stop(), suspend() and resume() methods in JDK 1.2?The stop(), suspend() and resume() methods have been deprecated in JDK 1.2.4. Is null a keyword?"null" is not a keyword. .null is a literal.5. What state does a thread enter when it terminates its processing?When a thread terminates its processing, it enters the dead state.....Read More
    Read More

  • How can we implement workflow for Deleted content

    Hi Experts,
    whenever we delete a content , It never went into Workflow.
    I want when user delete any content, It should go into workflow. When approver approves it, only then content item should actually deleted. If approver rejects it, content item should not get deleted.
    Is there any way to achieve this ??
    thanks

    Several things jump out about how you may be using delete.
    First is that delete rights are set up as separate and distinct from Read and Write (contribute) rights. This is true even for content authors.
    There is good reasoning behind this. Basically, because deleting items has special and often regulated meaning, giving users delete permission should be a very intentional action and never a default.
    Second, using the "expiry" functionality is a much better and safer option in most cases. Expiring a piece of content removes it from visibility to all except the sysadmin. Expiring content effectively "soft deletes" the item from the user experience while allowing the administrators to still recover the item if necessary. Another advantage of expiring content rather than deleting it is that as the content approaches the expiry date or as an expiry action is triggered, this can automatically trigger actions like a workflow review, email notification, BPEL service call etc. This gives you advance warning as well as the ability to intercept, review, and sign off on the action. You can also run batch jobs to archive and store or archive / delete "expired" items if you determine that you still need to do this.
    Finally, if you have considered the above options and still determine that you need to capture "delete requests" then the best option is to write a custom component that intercepts the delete service request and triggers a workflow, notification, expiry or other action.
    Remember that when you delete an item you must consider whether or not you are deleting just the latest released revision or all revisions or some selection of revisions. OOTB, UCM allows those with delete permissions to delete revisions one at a time. The repository manager applets provide admins with a bit more batching flexibility.
    Hope that helps,
    Warmly,
    Billy Cripe
    Fishbowl Solutions

  • I have ipad2 w/ios7 ... Looking for a shortcut for deleting read and unread emails without the individual method

    Am looking for a method to remove read & unread emails on 2 accounts without the manual one buy one method. Appreciate response!
    <Email Edited by Host>

    Find an alternate app in the app store, or login to your email account via a web browser (if that is an availableoption with your provider). The only mailboxes you can delete en mass from in the native app is the trash.

  • How to find the unused files for deletion?

    After mapping 600 xml files, how does one find the unused files for deletion from the folder? (eaiser and cheaper translations)
     

    iWeb will open any file with the extension .sites2 - it doesn't have to be named "Domain".
    See this page for how to open separate Domain files when using Lion/Mountain Lion...
    http://www.iwebformusicians.com/iWeb/mountain-lion.html
    The above page will also let you know how to find the library folder now that its hidden.

  • Is there a shortcut to delete a file permanently?

    Is there shortcut for deleting files permanently instead on moving them to the trash and then emptying the trash? something like Shift+Delete in windows? thanks in advance

    Go to iCloud.com, click on a single message in your inbox, press Control-A to select them all, press Delete on your keyboard.

  • HT3951 how do i re-download deleted content from itunes?

    I was using itunes from my PC and accidently deleted some content that I wanted to keep. I was trying to download to PC to make room on my Ipad but didn't see the Download all button at the bottom, till after. Have tried to go into my itunes account to look for deleted content but it shows nothing. Hopefully I don't have to pay or purchase again but please let me know what I can do. 

    Downloading past purchases from the App Store ... - Apple - Support

  • How do I make a shortcut for a folder without duplicating the contents?

    With Windows, I can right-click and make a shortcut icon for a program or folder, but don't know how to do that with a Macbook. I'd like to create a link in my Public folder for my music.
    Thanks for any help.

    control-click on the Music folder and select "make alias". drag the alias to your Public folder. you can also just commandoptiondrag the music folder to the Public folder and it will create an alias there directly.

  • Mac OS 10.5 /  I deleted the " Private" folder ... and emptied the trash. So the folder and its contents no longer exists on my computer at all !!!  I do have the OS dvd that i purchased years ago...  But my computer will not start from it on its own. My

    Mac OS 10.5 /
    I deleted the " Private" folder ... and emptied the trash. So the folder and its contents no longer exists on my computer at all !!!
    I do have the OS 10.5 dvd that i purchased years ago...
    But my computer will not start from it on its own.
    My question is what is the open source or terminal language code used to tell my mac to look in the DVD rom drive for startup info?  I know that im not the only person in this world who has deleted the "PRIVATE" folder and emptied the trash so it no longer exists on their machine...
    That said theres gotta be a common fix for a Power PC G4 that has the OS X dvd in the rom drive but wont look to it to reinstall the vital contents of the PRIVATE folder.
    Once again there is not a copy of this file or its contents in the recycle bin...
    Also rebooting the machine , pressing and holding the letter C does not prompt the machine to look to the dvd rom drive.
    I was reinstalling pro tools and figured I would make some room by cleaning my computers HD...
    Lol It was a bad choice to delete this file ...
    Thanks guys

    Okay sorry it took forever to respond... But for a while there I gave up on this computer!!!!
    Money's been tight lately , so taking it in to a professional was not yet an option... though I did consider it eventhough.
    Anyway long story short im glad I didnt spend any money because I already had all the tools necessary to fix this issue but was going about it in the wrong way. Okay so here is my scenario and the breakdown... Though this may not fix the issue for everyone :( which *****... But I know we all will have different circumstances.
    Anyway here we go...
    Okay so first things first....  Years ago I purchased the OS 10.5.1 disk ... So that has always been in my possession!!!!
    I realize that some may not have a disk to reflash your OS to your hard drive... but if you do your in luck.
    2ndly ... I had an external harddrive with all of my itunes downloaded music so it was more than okay with me to delete my primary HD because all the important stuff could either be copied over or repathed to be located.
    -------If you dont want to read through the whole story the fix is summed up in the bottom section-------
    Okay so now the SOLUTION!!!!
    By trial and error , and pure boredom I opened up my computer to clean the inside...
    AND
    "Disconnected the primary HD"
    and just because ....... REBOOTED my computer. Just to see what it would do.
    Upon restart and though it looked like it would repeat its usual cycle...
    About 1 minute in to that process my computer froze for about 2 seconds and flashed to the OS installation screen.
    Mind you I havent seen this screen yet... Probably hasnt been since I installed the OS years ago.
    After a bit of trial and error...
    I decided to tell my computer to startup from the OS 10.5 disk located in my dvd rom drive and restarted once again...
    this setting is under
    Utilities / startup disk
    After a little more trial and error ... I realized that I could reconnect the primary HD , restart the machine and return to the OS installation menu.
    So upon this discovery
    I went to the Disk Utility located under Utilities
    Highlighted my primary HD located in the left hand column
    Once highlighted ...
    In the heading section on the right I selected the option
    Erase
    in which I erased My current OS on my primary HD ...
    I used the first option in the list under security... Because it seemed like the least invasive and would take the least amount of time to see if this process would actually work.
    I FORGOT to add something... 
    Another reason why I deleted my primary HD!!!!!
    I forgot to say that it WOULD NOT!!!!! Show up in the STARTUP list as an option...Even After multiple reboots....
    But like clockwork... Once I deleted its name IT SHOWED UP as an option!!!!
    So back to the next step...
    I returned to the STARTUP option under utilities ... And was then able to see MY primary HD now as a startup option...
    But ofcourse it had no name because it we previously erased it.
    So when Clicking my newly erased HD ... I was almost immediately prompted to REINSTALL the OS ...
    Which said it would take about 57 minutes ... But I believe was alot less...
    My issue was resolved ... My computer then stated the install was SUCCESSFUL!!!!!!! :))))))))))) lol ;)
    It was like I was setting up for the first time ;) asking for my registration info...
    The dilemma of deleting the private folder and emptying the trash is finally over resolved. Done ... and no extra money spent!!!!!!!!! 
    Its really crazy that the information for such a simple thing is not readily available. Especially being such a simple fix.
    I know im not the only person who's had this issue , because i've seen numerous posts with similar wording.
    I also know I wont be the last person to have this issue... So I hope this synopsis makes sense.
    -------One more time the fix------
    *Insert your OS dvd into your dvd rom drive.
    *Unplug your primary HD or corrupted startup disk
    *Reboot your machine...
    Upon restart your primary HD will not be recognized...
    * you will then be prompted to select your language.
    Once selected
    *Click Utilities/startup... Highlight the the selection that refers to the OS dvd located in the dvd rom drive.
    * Click restart...
    !!!!!!!!!!Be sure to reconnect your Primary HD Before your computer restarts and you hear the chime!!!!!!!!
    If you do not replug your HD before the chime it will not be recognized.
    In that case restart again.
    Upon restart once again
    *Choose your language...
    *Click Utilities / disk utility
    In the left column select and
    *Highlight your HD ...
    Then towards the top portion / center of the page
    *Click the heading Erase
    Then on the page toward the bottom
    *Click security options
    This will then provide erase options.
    I USED THE FIRST OPTION
    "Dont erase data"...
    *click OK
    * click erase...
    Once erased which should take a few seconds
    *Cancel the disk utility...
    * Click Utilities / startup
    And your newly erased HD should now appear in the list.
    * Select your drive from the list by highlighting
    It should no longer have a name.
    *Once selected, you will then be prompted to restart and install the OS to your newly erased HD...
    Thats it!!!!
    Once everything reinstalls re-add your personal info or registration info and you are up and running.
    Goodluck ;)

  • Disable Delete option but enable edit option for a content item?

    Hi,
    Appreciate your input on this. The portal version being used here is 3.0.9.8.2.
    I would like to have the following privileges setup for a content folder's items.
    - one group can edit and delete items
    - one group can edit but not delete items.
    However looking at the access types available at the folder level - there are only "view only" , "edit style", "manage items", "own folder","create with approval".
    The "manage" privilege is simply a catch all privilege. User can edit, checkin/out and also delete an item.
    How do I prevent a user/group from deleting an item ? (or atleast disable the rendering of the 'X' delete icon?)
    I did experiment with the audit option by enabling version control which is somewhat helpful in that I can preserve the older versions, but like above, I cannot enforce that.
    regards
    -Ananth

    thanks for your answer Mr. Atkinson, that was excatly what I need. This is my code inside the event receiver:
    public override void ListAdded(SPListEventProperties properties)
    SPList list = properties.List;
    list.AllowDeletion = false;
    list.Update();
    but the above code dont have any effect on the list, I have still the Item with DELETE THIS LIST in the listsettings.
    do you know maybe why? or can I also debugg it?
    thanks in advance
    BR
    Ahmad
    SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012

  • An error on a site deleted a photobucket folder full of pictures for a class and I'm trying to see if since I last veiwed them with firefox theres a way to recover them-With the cache or something?

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    An error on a site deleted a photobucket folder full of pictures for a class and I'm trying to see if since I last veiwed them with firefox there is a way to recover them-With the cache or something?
    == This happened
    ==
    Just once or twice
    == I was on photobucket around 6pm on Mon July 19th
    ==
    == Firefox version
    ==
    3.5.9
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9
    == Plugins installed
    ==
    *-The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *Shockwave Flash 10.0 r42
    *My Web Search Plugin Stub for 32-bit Windows
    *Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape
    *DivX Web Player version 1.4.3.4
    *npdnu
    *Office Plugin for Netscape Navigator
    *iTunes Detector Plug-in
    *GEPlugin
    *4.0.50524.0
    *MSN® Toolbar
    *Google Updater pluginhttp://pack.google.com/
    *RealJukebox Netscape Plugin
    *RealPlayer(tm) LiveConnect-Enabled Plug-In
    *6.0.12.69
    *Google Update
    *Java Plug-in 1.4.2_03 for Netscape Navigator (DLL Helper)

    Hi- I'm Sarie and no this didn't help. I actually tried to log in to respond and it said I wasn't registered. Not really all that cool.

Maybe you are looking for

  • Error while posting stock

    Hi, I am trying to do stock posting in MB1c and getting the error as below: "field selection for movement type 501/ acct 893025 differs for business area 033" Please suggest. Regards, Naveen

  • Can't see albums in Music app

    OK, strange one this: Updated to iOS7 on my iPhone5 last week, so far so good. Just today, randomly, the iTunes radio button appeared at the bottom of the music app (where I used to have the 'album' button). The album button has now changed itself so

  • Automation of Essbase backup

    Hi Guys, My query is about the backup and restore feature with transaction logging and replay where the backup are taken automatically and the recent changes before the crash are recovered through transaction logging and replay. Can anybody tell me h

  • How to change chip in ipad

    How to change chip in I pad

  • SuperDuper or Carbon Copy Cloner, which one to use in my case?

    Let me start of my saying what i am going to be doing... Right now i have Panther on my Mac, i am going to install Leopard and do a clean install which will erase everything on my Mac's HD, so i bought a external FireWire HD to backup all of my files