Deletling a folder and all the files & folders in it

Hi,
Is there a way to delete all the files and folders in a
directory, a custom tag or some code would help a lot.
<cfdirectory> should have a "destroy" action which
deletes a folder and everything in it.
Thanks.

I don't know why you couldn't do a <cfdirectory
action="delete"
recurse="yes">
Should delete everything in subfolders, etc.....unless I'm
misunderstanding the tag......
Hulfy wrote:
> Hi,
>
> Is there a way to delete all the files and folders in a
directory, a custom
> tag or some code would help a lot.
>
> <cfdirectory> should have a "destroy" action which
deletes a folder and
> everything in it.
>
> Thanks.
>

Similar Messages

  • I need to know how to "compress" the Folder Tree.  The File folders are moving to the right and out of sight in Lightroom 5.

    I need to know how to "compress" the Folder Tree.  The File folders are moving to the right and out of sight in Lightroom 5.

    A couple of suggestions that may help:
    - Make sure you've made the left-hand column as wide as possible by grabbing the divider between the column and the Library grid view.
    - You can hide a parent folder from the display by right-clicking it and selecting Hide This Parent. This will shift all the child folders to the left.

  • HT204379 I have pointed to my pictures folder and all the pictures are 1mb in size with a lowest resolution 4416 × 3312. Why do I still get blury images in my shifting titles screen saver?

    Hello,
    I have just moved to mac and pointed my screen saver to my pictures folder and all the pictures are 1mb in size with a lowest resolution 4416 × 3312. Why do I still get blury images in my shifting titles screen saver?
    Regards,
    Jan

    finally found it
    http://lifehacker.com/5711409/how-to-search-for-hidden-packaged-and-system-files -in-os-x
    need app find any file
    link at bottam

  • Got a SACD rip and all the files ending .dsf How I open it?

    I new to this 
    I got some music SACD rips and all the files ending .dsf  How I open it?

    double click my domain in the Applications folder in i web
    Just so we're on the same page you mean when you double click on the domain file that's located in your Users/Home/Library/Application Support/iWeb folder, right?
    if we're on the same page try the following:
    delete the iWeb preference file, com.apple.iWeb.plist, that resides in your Home() /Library/Preferences folder.
    go to your Home()/Library/Caches/com.apple.iWeb folder and delete its contents.
    launch iWeb and try again.
    If that doesn't help continue with:
    move the domain file from your Home/Library/Application Support/iWeb folder to the Desktop.
    launch iWeb, create a new test site, save the new domain file and close iWeb.
    go to the your Home/Library/Application Support/iWeb folder and delete the new domain file.
    move your original domain file from the Desktop to the iWeb folder.
    launch iWeb and try again.
    OT

  • I had to redownload cs6 from another drive and all the files are there but it wont open any of it

    i had to redownload cs6 from another drive and all the files are there but it wont open any of it

    Copying/transferring will not work.  You need to install the software using installation files.
    CS6 - http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html

  • HT1364 when I moved the iTunes media folder from my PC to my external hard drive, upon iTunes start up with the harddrive connected beforehand, my music and all the files transferred to my harddrive but now all my playlists music& ratings are gone. what d

    I transferred my itunes library using all the guided steps promepted on this topic,  when I restarted iTunes in its new location on my xternal hard drive, iTunes did not have any of my ratings or playlists. I did have the hard drive running before i started up itunes as well. what can I do?

    I got it to work!!!!!!!
    what I did was after doing this( http://support.apple.com/kb/HT1364) moving my library and iTunes folders using that link, I held shift while double cicking and opening iTunes, It promted me to select a library, I went to my external hard drive and opened iTunes library.itl folder and selected the iTunes library.itl file.  In the picture below I just selected the highlighted file and it opened itunes, THIS time with all my music and with all my music ratings and playlists, all still intact thank you so much!!!!

  • I web won't open my domain but a blank page.. and all the files are there

    When I double click my domain in the Applications folder in i web, I web opens but with no info inside it. If I open the folder it has all the data in it- How can I make i web open my domain with that data? thanks

    double click my domain in the Applications folder in i web
    Just so we're on the same page you mean when you double click on the domain file that's located in your Users/Home/Library/Application Support/iWeb folder, right?
    if we're on the same page try the following:
    delete the iWeb preference file, com.apple.iWeb.plist, that resides in your Home() /Library/Preferences folder.
    go to your Home()/Library/Caches/com.apple.iWeb folder and delete its contents.
    launch iWeb and try again.
    If that doesn't help continue with:
    move the domain file from your Home/Library/Application Support/iWeb folder to the Desktop.
    launch iWeb, create a new test site, save the new domain file and close iWeb.
    go to the your Home/Library/Application Support/iWeb folder and delete the new domain file.
    move your original domain file from the Desktop to the iWeb folder.
    launch iWeb and try again.
    OT

  • Deleting a User Account and All the Files

    Hello , I would like to delete my daughters user account and everything in it to Free Up much needed hard drive space that it is taking up because the user now has their own Macbook Pro.
    I am the administrator and I am tringy to delete her account using system preferences , but I just get both the spinning progress circle and the dreaded spinning beach ball at the same time which just keeps spinning ... on and on and on .. after I go through the prompts asking me if I really want to delete the account.
    Any help ?

    Yeah but OSX is strange, you need lots if free space to delete files, you need more free space for more memory, you need more free space even for a larger hard drive!
    That should be enough though.
    Go to the Users folder and do a Get info on her folder, what size is it?
    Maybe try deleting her Documents folder ther instead of in her account, does that work?

  • Issues no acces to my files and I cannot reset keychain. I look at my backup and all the files are locked.

    hi
    i downloaded yosamite and once the computer reboot, I could open it with my old login and password, but all my data is gone. if I try to take it from time machine is blocked with a symbol red.
    I had a request to provide my password to keychain. I did and it kept asking. But when I try to reset or verify it says I'm not the right user.
    Now I'm a bit lost. Can anybody share some guidance? Thanks.

    Try here:
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    It has a link for XP

  • I am missing the scrapbook icon and all the files I have saved.

    Both the icon and the files are missing. I have scanned my hard drive, and they are just gone.

    The author of the Scrapbook extension has his own website here: <br />
    http://amb.vis.ne.jp/mozilla/scrapbook/
    There's a tutorial on that page, and there are links to various help pages on that main page.

  • I'm getting an error that says "The iPhone "------" cannot be synced. You do not have enough access privileges for this operation." Everything will sync but the music. I am an administrator and all the files are organized. How do I sync my phone?

    I cannot sync my iTunes library or any playlists to my iPhone due to a message that reads "The iPhone "-----" cannot be synced. You do not have enough access priviledges for this operation. I also have music on my iPhone that will not sync to my iTunes library. Any way to sync the two together?

    I hope this helps.    Not the easiest fix, but I suspect it will solve the problem.
    http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/itun es-privileges-error-with-windows-7/d616e06f-ecdd-4d34-8d7a-a9936a91ad6e

  • Remove packages and all the config files associated with it

    How can I remove a package and all the files folders hidden folders config files and examples which are installed with it.
    In short how can I revert the system back to the state when the package was not even there.
    When i remove a package i still see some folders which are associated with it in some weird directories.
    Is there a way to get rid of those.
    Thanks

    From the pacman man page:
    Remove Options
    -c, --cascade
        Remove all target packages, as well as all packages that depend on one or more target packages. This operation is recursive, and must be used with care since it can remove many potentially needed packages.
    -k, --keep
        Removes the database entry only. Leaves all files in place.
    -n, --nosave
        Instructs pacman to ignore file backup designations. Normally, when a file is removed from the system the database is checked to see if the file should be renamed with a ".pacsave" extension.
    -s, --recursive
        Remove each target specified including all of their dependencies, provided that (A) they are not required by other packages; and (B) they were not explicitly installed by the user. This operation is recursive and analogous to a backwards --sync operation, and helps keep a clean system without orphans.
    -n seems to be what you are looking for.

  • My computer hard drive crashed but I have a HP Recovery Backup of it with all the files unzipped. How can I retrieve my emails from this backup on my new comput

    II lost my HP hard drive after doing a HP Recovery Backup using Windows 7. I now have a new computer using Windows 8.1 and I have successfully unzipped all my files including my Thunderbird and Firefox profiles,. I have installed Firefox and Thunderbird on the new computer but cannot figure out how to get my bookmarks (Firefox) or my emails (Thunderbird) off these old profiles. Just substituting the old profiles stops the applications from opening and obviously I did not create these using the application export facility. Can the application be fooled by renaming the file with the name of the new profile? or is there some internal code that the program checks. I'm totally at a loss.

    The Profile names have to match what Firefox and Thunderbird is expecting to find. Any difference and they may not start, or they may just create a new Profile ''as they are supposed to when the expected Profile is "gone".''
    You can rename the old Profiles to the names of the new Profiles; or you can carefully edit the profiles.ini file to match the Profile names of the old Profiles. ''One mistake and it's toast, though.''
    But IMO, the best thing to do is to go to the folder level where the '''profiles.ini''' file and the '''profiles''' folderset is located --
    '''%APPDATA%/Mozilla/Firefox/ '''
    where you should find '''profiles.ini''' and the '''Profiles''' folder, ''and maybe other files / folders''
    Copy that whole '''Firefox''' folder from the old installation over to the new one.
    With Thunderbird that should work the same as it is based upon the basics in Firefox, but I have never used Thunderbird.

  • Photo's there but all my files folders/library is missing

    Hard to explain so bare with me! My i-photo suddenly is missing the left third of the program. All the photo's show up but all the files are missing. Below is a picture - see the far left list of files? That is what is missing. I was in the middle of making a book and when I closed out of the book making to go back to the main library the library and all the files below were just not there. I have restarted the program as well as the whole computer. When I open iphoto it opens and all the photos are there. I can edit them etc but I can't put them in a file. I tried to make new files (option from the drop down lists) and it won't work. I have tried to make a new book and it won't work either. There is an indication that I could expand it back but that doesn't work. It really seems like it is a setting that got changed but I can't find the setting would apply. Any ideas? The book I was making is finished! I was just about to purchase it as a Christmas gift and now all my work seems to be gone. Any suggestions would be greatly appreciated.
    http://images.apple.com/support/iphoto/hottips/images/book.jpg

    Welcome to the Apple Discussions. First quit iPhoto and delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your User/Library/Preferences folder. Open iPhoto and see if your albums, etc. are back in the left hand pane.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • All the files are grayed out in iTunes

    My iPod died a few days ago and it was replaced (5G 30GB). I’ve connected the new one to iTunes on my computer (WinXP pro) and all the files seemed to transfer correctly to the new iPod. In iTunes, however, it you select the iPod on the left, all the files are grayed out and you can’t click on them. With my old iPod you could. I also noticed a little locked symbol down at the bottom to the right of where it shows you how much space is left on your iPod hard drive. I’m guessing that the new iPod drive is somehow locked. I can’t find anything in iTunes that controls this. Is there a way to unlock the iPod drive so you can click on the ipod files in iTunes?
    Asus P4C800   Windows XP Pro  

    Grey text when you look at the content and lock symbol at the bottom of the screen simply shows that your iPod is set to "automatically update songs and playlists". . If you want to access your iPod directly, play it through your iTunes, connect it to a second computer etc. you just need to change the update method to "Manually manage songs and Playlists" in the iPod preferences. For more detail see this tutorial: Managing Your Songs Manually
    One thing to be aware of with manually updating is that the iPod also has to be manually ejected before the "Do Not Disconnect" message will go away. Safely disconnect iPod
    For info: iPod 101
    The iPod offers three ways to transfer music from your computer. You can select one of the following update modes from the iPod Preferences menu in iTunes (Edit=>Preferences=>'iPod' tab):
    1) Automatically update all songs and playlists. This is the default mode, in which your entire music library, including playlists, is automatically synced to your iPod. If the music library on your computer exceeds the iPod storage capacity, you are prompted to select a different update method.
    2) Automatically update selected playlists only. With this option, iTunes automatically copies the playlists you have selected to the iPod when you connect it to the computer.
    3) Manually manage songs and playlists. You can also choose to transfer music to the iPod manually. This allows you to drag and drop individual songs and playlists from iTunes to the iPod.

Maybe you are looking for

  • Installing a second hard drive in g5

    hi. i just bought a 400 GB hitachi desk star hard drive to install as a second drive in my G5. i slid it in the alloted slot and plugged in the corresponding cables. when i powered up my computer i went to disk utilities and it showed no new drives.

  • Transfer from Operator Question

    Hello, We recently installed a CCM system here. Our receptionist's extension is 8068. When callers call in and she transfers them to a DN, they see the call as coming from her and answer with some goofy comment (when it turns out it's actually a clie

  • Can i re-install firefox to fix whatever is wronb

    firefox was having trouble loading ... mostly facebook games. now wont start at all. can i just run the install program again

  • IPhoto 09 Deleting Question

    i recently imported my phots into iphoto 09 that i got the with snow leopard last year. can i delete them from my pictures folder (i imported from) and it will be stored on iphoto

  • I installed the trial version of Photoshop CS6 but it will not let me open the program.

    When I go to open it an error message comes up saying that "it may be damaged or incomplete". But when I go to Adobe Applicaion Manager it says that it is "up to date". How can I fix this?