Script to make 'delete' file from system and not just library svp.

I would like something, possibly a script, to replace the delete option in iTunes so that a file deleted from within iTunes is actually deleted from the HDD. I have downloaded a script that can do this but the option ad to be called from the script menu and was not convenient, so I am looking for a way to amend or replace the menu option to achieve this in a natural fashion.

Okay, here I found this page: http://ask.metafilter.com/18737/How-can-I-make-iTunes-delete-songs-again
which is nice and informative. What I have found is that in order to delete files natively from within iTunes the default settings of keeping your music files in the iTunes music folder (which can be modified to another directory in iTune's preferences) must be left untouched. This is because iTunes will only delete files from the HDD if they reside in the music folder iTunes refences to. Its a nice structured system that iTunes itself keeps organised so its the better option, as oposed to having files everywhere.
In order to reset the iTunes dialog messages, the file "com.apple.iTunes.plist" in the "~/Library/Preferences/" dir must be deleted - which resets everything, as the documentation suggests you will know because the copyright agreement will launch when iTunes is started. Please make sure iTunes is off before deleting the file. The documentation also suggests deleting another file but I didn't do this and it worked for me.
However the ability to delete movies from the HDD is not an option from within iTunes, I suggest finding a script that will move all movies in a certain playlist to the recycle bin folder

Similar Messages

  • How do a really delete books from iBook store (not just hide them)?

    How do a really delete books from iBook store (not just hide them)?

    What do you mean? They do show in the Purchased items in iTunes. Click on the three little dots ... to the right of the last icon showing in the top left to get the list of other iTunes categories (like books). Click on Books, and then on Purchased:
    Cheers,
    GB

  • Delete file from folder only (not from list)

    Hi all,
    I've searched a lot and didn't succeed so far, that's why I need your help. In a cloud context, I'm actually creating and uploading files (pdf and/or xml files) "on the go" to sharepoint folders via the SOAP API and this is perfectly working. But
    in a cloud context, I also need to decomission services which is translated into deleting files into Sharepoint.
    That's where it became complicated, because according to the API we cannot delete files if they are not part of a list structure, which is not my case. Is that true ?
    The only info I have when trying to delete a file via the SOAP Api is : its name, its folder, and the endpoint where the folder is. So my question remains simple I guess : is this possible ? If so, how to (a link to the SOAP body would be usefull)
    Thanks a lot
    Regards
    Baptiste

    Hi,
    According to your post, my understanding is that you want to delete file from folder.
    In SharePoint 2010, It is recommended to use Client Object Model to achieve it, the following code snippet for your reference:
    string siteURL = "http://siteurl";
    ClientContext context = new ClientContext(siteURL);
    //specific user
    NetworkCredential credentials = new NetworkCredential("username", "password", "domain");
    context.Credentials = credentials;
    Web web = context.Web;
    context.Load(web);
    context.ExecuteQuery();
    string relativeUrl =web.ServerRelativeUrl +"/DocumentLibraryName/FolderName/FileName";
    File file = web.GetFileByServerRelativeUrl(relativeUrl);
    context.Load(file);
    file.DeleteObject();
    context.ExecuteQuery();
    If you still want to use SOAP API, we can use the UpdateListItems method under Lists web service to achieve it.
    http://www.dhirendrayadav.com/2010/06/delete-list-items-using-web-service.html
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/61466984-1844-48a1-8c1e-1c59a0f9876a/move-and-delete-files-remotely-using-sharepoint-web-services-?forum=sharepointdevelopmentlegacy
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • How can I delete files from iTunes AND my hard drive? It used to be very obvious in iTunes but I no longer see that option.

    I used to easily be able to delete songs from my hard drive and library through iTunes but I no longer see that option. Is there a way to do that or a workaround of some kind?

    Are these songs in the iTunes media folder shown in iTunes prefs > Advanced?
    Only songs in this location will be deleted from the HD when delting from iTunes.
    Also, iTunes prefs > Advanced.
    Click Reset Warnings.
    If you are deleting from a playlist, it will only delete from that playlist.
    Hold Shift and press Delete to remove from the playlist and from the library.

  • Make pdf files from jpeg and zip files?

    how do I make a pdf file from a jpeg or zip file?

    You will need Adobe Acrobat or use https://createpdf.acrobat.com/ to make a PDF from JPEG.
    ZIP files need to be unzipped before converting the content to PDF.

  • Idisk app: delete file from iphone but NOT idisk?

    maybe i'm missing something but how do you delete a downloaded file from just your iphone? when i tap the delete button in the downloaded file window it deletes it from my idisk.

    Jeff Stone1 wrote:
    well that is sort of what i thought. when the app was originally previewed it was stated that you can VIEW your documents stored on your idisk. but the mobileme page on the apple site says that you can DOWNLOAD files to your iphone.
    i just looked and i only see where you can view and share files but i don't see anything about downloading files.
    on a side note why is the icon blue didn't it change from blue to a pink with the change from .mac to mobile me.

  • Can I delete pictures from iPhoto and not have them removed from the "Picutres" folder on my computer?

    I am trying to save space on my computer if I can...

    Simple answer: yes.
    But... you need to proceed very carefully or you might delete the wrong things.
    Are you running a Managed or a Referenced Library?
    A Managed Library, is the default setting, and iPhoto copies files into the iPhoto Library when Importing. The files are then stored in the Library package
    A Referenced Library is when iPhoto is NOT copying the files into the iPhoto Library when importing because you made a change at iPhoto -> Preferences -> Advanced. (You unchecked the option to copy files into the Library on import) The files are then stored where ever you put them and not in the Library package. In this scenario you are responsible for the File Management.
    If you have a Managed library, and also have copies in the Pictures Folder outside the Library, then they're the waste of space...

  • How can I remove audio files from ipod totally not just playlist

    I understand how to remove from playlists, how can a file be totally and permanently removed to free up memory?

    If you sync by playlists, then remove the song from the playlist in itunes, then sync. The song will be removed from the ipod.
    However, if you have genres, artists, etc checked, then you would have to remove that genre, artist,etc from the song info.
    If you sync by checked song, then uncheck the song and sync.

  • Deleting files from Time Machine not possible

    Prior to Mavericks it was possible to delete specific files or directories form all TM backups using the action menu.
    this option no longer appears. this is an issue since it is no longer possible to prune the backups (remove files you really don't want to keep).
    I know it is possible to exclude directories from backup (beforehand) but this does not cover removing files after they have been backed up..

    It was always fraught to remove anything from Time Machine and I have read somewhere that there is now a bug that the engineers are working on.   It appears you cannot go back beyond the date you download Mavericks.
    Perhaps someone will come into the thread who knows more about this.

  • Unable to Delete Files From Bridge CS4

    I am trying to delete file from bridge and all the sudden I am getting the message that I dont have permisson to delete file. I have done several troubleshooting methods and nothing works. Deleted prefs, cache, checked file permisions, repaired HD permissions, reset workspace, turned off startup scripts, etc..... Anyone had this problem or have any idea what may be causing this?
    Thanks,
    Colby

    Ok I can delete via bridge using a different user account. So its bridge/user
    account but not sure what the solution is. Would it be best to remove/install
    a new copy of bridge?
    I don't think reinstall Bridge is the solution. You might first want to try
    this:
    Quit Bridge, from user library preference folder delete the Adobe bridge
    plist file manual to the trash.
    Then restart Bridge again with holding down option key and from menu choose
    refresh preferences.
    Try again, if no luck then consider a better user check then only disk
    permissions.
    You can start with the original install disk from MacOs. Restart from this
    disk and start with a check and repair disk and check and repair disk
    permissions.
    You also might consider an other disk utility like Disk Warrior or Disk
    Tools Pro but they are not for free.
    If not the solution you might consider to migrate your user to a new
    account.

  • Can I delete files from disk that I removed just from LR in error?

    Hi, this is a really silly error.
    I've just deleted 100s of raw files from lightroom, useless stuff that I should have deleted at the time but was too lazy to do so. Am now trying to purge all the rubbish and it's taking me days (it's from the last 3 years or so.)
    This morning I just deleted several hundred images I went to empty the trash can and it's already empty and it's only then that I realise I've been just deleting the files from Lightroom and not from the disk. It's several hours work, is there any way I can now identify in the finder folder which images are not in LR, because these are the ones I want to get rid of for good. I don't want to keep them there taking up valuable memory space or restore them to LR and have to do it all again. Help!
    Any advice much appreciated.
    Emma
    Mac OSX 6.3
    Lightroom 2.7

    Emma,
    I would do the following:
    BACKUP YOUR CATALOG
    Synchronize the folder(s) in question (possibly to top level parent folder)
    - Deselect "Scan for metadata updates" during synchronization
    - Select "Import new photos" during synchronization
    Delete the photos ("Delete from Disk") just imported by Synchronize from within LR (from view "Previous Import") after each import (if it's more than one folder)
    This should delete all the images not previously in your catalog but existing in your folder(s).
    Beat Gossweiler
    Switzerland

  • How do I permanently delete music files from itunes AND my  computer (without going to the folder to delete each item)? It's a windows system. I've tried 'reset all dialogue warnings' as I've been told to do but no luck. Files are still in Itunes folders.

    How do I permanently delete music files from itunes AND my  computer (without going to the folder to delete each item)? It's a windows system. I've tried 'reset all dialogue warnings' as I've been told to do but no luck. Files are still in Itunes folders. I would really appreciate help!

    Solved! Music was in Itunes folder but not in Media folder within that. It doesn't seem like a very user friendly system so far!

  • I somehow changed a video in my imovie to zero fps, so it just plays black.  The video still exists on my desktop but even when I delete the files from imovie and reimport them the file is still in zero fps and play black.

    somehow changed a video in my imovie to zero fps, so it just plays black.  The video still exists on my desktop but even when I delete the files from imovie and reimport them the file is still in zero fps and play black.

    I'm not sure of your question.
    Are you asking how to use Photoshop?
    Or are you asking for the dimensions of video iMovie uses?
    It edits in 720P HD, which is 1280x720.
    You can make it a bit bigger so you can zoom in.
    Much bigger then this is a waste of time.

  • My macbook pro keeps saying I have 450 gigabytes out of 500 that are used.  But when I look on finder there are no files that are anywhere close to that amount.  I went through and deleted files from my mac and now I only have 10 gs free

    My macbook pro keeps saying I have 450 gigabytes out of 500 that are used.  But when I look on finder there are no files that are anywhere close to that amount.  I went through and deleted files from my mac and now I only have 10 gigabytes of additional space free. My mac now says I have 440 gigs of other that is used. But does not make sense, do I have a virus?

    Since you have not identified the OS your MBP is using, these extract may or may not assist you.
    http://pondini.org/OSX/LionStorage.html
    http://pondini.org/OSX/DiskSpace.html
    You may also download from the Internet OmniDiskSweeper (free) and open it it will show all of the files on your MBP and the respective sizes.
    ciao.

  • HT1660 when deleting music files from iTunes and you select Keep File, where is that file stored and how it is retireved?

    when deleting music files from iTunes and you select Keep File, where is that file stored and how it is retrieved?

    The file is just left where it was when it was connected to the library. Typically:
         <User>/Music/iTunes/iTunes Media/Music/<Artist>/<Album>/## <Name>.<Ext>
    If you want to add it back just drag it into iTunes. If you want to cull the files you kept previously add the entire iTunes Media folder back into iTunes (or use one of Doug's scripts that has the same effect), then delete (and don't keep) the recent additions.
    Note that warning/prompt is only issued when the files you are removing are located inside the designated iTunes Media folder.
    tt2

Maybe you are looking for