How can I remove files that do not contain the number 1 or ~1?

I had to convert many .avi files.  The new names all contain ~1.  Those files I want to keep and remove the originals.  There are scripts to remove files with a numeral such as 1.  I need one to remove all files without the 1 or ~1. 
I tried using a script that removed older files, but the new files seemed to have the same created dates and modified dates so that will just delete all the files.

Thanks for your input.  I want to keep the files with a 1 or ~1 as it happens and delete the rest.  I have written some scripts.  I think I could write a script to delete all files with a 1, but of course that is not what I want.  I guess
I need a script to delete all files except if they contain a 1.  I haven't used a forum since way back in the PC mag days.
Whoops..........I just realized exactly what you were telling me and used your suggestion.  I guess I was trying to do more work than I needed.  I searched for all files with a 1 in the folder and then moved them to a different folder.  Then
I deleted the rest.  Job done.  Thanks for the help.

Similar Messages

  • I have started a photo book in iPhoto (OS 10.7.5). How can I add photos that were not in the original album?

    I have started a photo book in iPhoto (OS 10.7.5). How can I add photos that were not in the original album?

    Thanks for your quick response. I thought I had tried that but I must not have because it worked perfectly.

  • How can I filter messages that do NOT contain a specific word in the subject?

    I want to do the opposite of what filtering normally does. I want to filter out messages that do not contain a word or a string.
    For example, I want to display emails that do not contain the word "meeting" in the subject.
    Is this possible? If so, how can it be done?

    It's not built in. The TotalQuickFilter extension allows NOT and lots of other filter features:
    https://addons.mozilla.org/en-US/thunderbird/addon/totalquickfilter/

  • How can I access files that are saved in the iCloud?

    Hello fellow apple fans,
    I downloaded Mountain Lion yesterday and was very pleased to find out that it is possible to upload several file types from several programms into the iCloud. But now I am concerned that this feature could turn out to be useless for me: e.g. the PDF-upload from Preview" - once I uploaded it I can't find it annywhere, neither on my iPhone nor on icloud.com. I can only access it when I open Preview and look for "documents saved in the cloud". Same problem with several types of files - I can't find anything that can't be opend by the iWork-suit if I don't use the same programm that I used to save it in the cloud.
    Is this feature only meant to help people that own more than one Mac?
    Thanks for your help
    Thadeus1991

    Unfortunately, you're right. You can open iCloud documents on multiple devices, but only if they have the exact same software. If you save documents on Preview or TextEdit on your Mac, you can't open them on your iPad or iPhone because there is no equivalent software.
    I use Goodreader to read documents on my iPad and iPhone, and there is a workaround that I learned about on a popular Apple fan site that allows me to access my Goodreader iCloud files on my Mac (they are stored there even though there's no direct way to access them).  Hopefully, Apple will address this issue and make such workarounds unnecessary.

  • How can I find photos that are not assigned to any collection?

    Hi !
    I'm using LR 5.7.1 on a Mac.
    When I've retouched raw pictures with PS CC (and do not need the PSD file any longer) I export the PSD (that is in my catalog) as JPG and let it add to my catalog automatically. After that I delete the PSD file. That works fine.
    But .... the new JPG file is not assigned to any collection. That's no problem unless I forget to do it manually after that export (and import).
    That brings me to my question.
    How can I find photos that are not assigned to any collection?
    I tried it with a smart collection after I found nothing suitable in library filter. The search criteria I tried are Source -> Collection with any of the conditions. One with an empty value field, then with just a space and so on.
    Has anybody a good hint for me?
    Thomas

    You can also add numbers if you have collections that don't use alphabet characters.

  • How can I display images that are not included in any collection?

    How can I display images that are not included in any collection (some filter or smart collection)? A smart collection with parameters "Collection - contains - empty field" does not work. Lightroom 5.

    Thank you! Good idea! I ordered letters of the alphabet (space separated), and it works.

  • How can I access files that I moved from an older MacBook Pro to a newer one via Firewire and Migration assistant.  The files show up on the new MacBook but cannot be opened.  Thanks!

    How can I access files that I moved from an older MacBook Pro to a newer one via Firewire and Migration assistant?  The files show up on the new MacBook but cannot be opened.  Thanks!

    Get info then check permissions then add your curent user name (it was probably different on old Mac) and give your username full read/write permissions.

  • HT1660 how can i view files that i buck up from my old device to i tunes

    how  can you view file that i buck up from old divice to itunes

    Reset and Erase before selling
    Settings>General>Reset>Erase all Content and Settings

  • My other laptop crashed with adobe lightroom installed on it.  How can i de-authorize that computer (not able to boot up) and install it on this computer?

    My other laptop crashed with adobe lightroom installed on it.  How can i de-authorize that computer (not able to boot up) and install it on this computer?

    There is no de-authorize process for Lightroom. Just download the latest version and use your License key to authorize on the new computer. 

  • Help!!! the app Iphoto is closed marking a erros. I go back and open the application and are not photos. How can I recover them? Are not in the image folder.

    I was editing my photos and adding them to a album and suddenly the app is closed marking a erros. I go back and open the application and are not photos. How can I recover them? Are not in the image folder.

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • Question: is it possible to recover an InDesign file that will not open. the problem came by copying a pictogram vector illustrator to indesign. My file indesign does not want to open it now. Thank you

    Question: is it possible to recover an InDesign file that will not open. the problem came by copying a pictogram vector illustrator to indesign. My file indesign does not want to open it now. Thank you

    You can try the script mentioned in #1 here: Re: InDesign 6 is crashing when attempting to open a particular document. All others are opening OK.
    Here's how to install a script: http://indesignsecrets.com/how-to-install-a-script-in-indesign-that-you-found-in-a-forum-o r-blog-post.php

  • How can I make my imap email not take the emails off the server?

    How can I make my imap email not take the emails off the server when I delete them on my iPad?
    Can anyone help me whith this?
    I tried to use the pop account in gmail settings but that was downloading all my emails sice 2008 ( more than 300 deleted emails tha can only be found in the deleted email box), when I just have 5 or 6 email in the inbox .
    How can I solve this????
    Thank u all...

    I have the same problem. For years I have been able to delete emails from my ipad and have them remain on the server so I can deal with them on the desktop. Now they get deleted from the server when deleted from the ipad, which makes the ipad unless for reading mail.
    You answered to delete the email account on the ipad and set up a new one as a pop. I have made many attempts to do that in the  incomping mail server "Host Name" field but it always errors out even when the host name is equal to what my desk top has. So I can see no way to change away from IMAP. I started with an ipad 1 and now have an ipad 2.
    Rachael

  • HT204266 How can I remove my credit card information from the app store?

    How can I remove my credit card information from the app store?  I would like to have an account without the credit card information.
    I would like to put in my credit card only when I am ready to purchase. 

    On your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your phone then tap on your id in Settings > iTunes & App Store and tap 'View Apple ID' on the popup - that should also give you a payments link on your account's page.
    Changing payment info : http://support.apple.com/kb/HT1918
    If you don't get the 'none' option on the payment details screen then do you owe iTunes anything or have any pre-orders/subscriptions due : http://support.apple.com/kb/TS5366 ?

  • How can I remove apps no longer wanted from the cloud

    How can I remove apps no longer wanted from the cloud? they are not used any more and taking up space.

    Welcome to the Apple community Mickeymom.
    The apps are not actually in your iCloud storage, they are links to the apps in the App Store. What you are seeing is your purchase history and as such cannot be deleted.
    You can however hide your purchases, which you can do from the QuickLinks > Purchased option from the main page in the iTunes Store on your computer.

  • Finder Searches for Files That Do NOT Contain Certain Words

    Is it possible to do a search in the Finder for files that do NOT contain a certain word?

    As far as I know you can't do that. It would be lovely to pipe the results of one search into another....
    What happens is if you specify a type folder, then exclude a file system name, the command excludes folders that have the word in their name.
    You may want to take a look at this:
    http://developer.apple.com/documentation/Carbon/Conceptual/SpotlightQuery/index. html
    See the section on "Query Expression Syntax" and the one on "Spotlight Metadata Attributes Reference" (click link, then click the link in the Introduction to the section). Most the other stuff is of interest mainly to programmers, but those two sections are actually useful to regular folks.
    Francine
    Francine
    Schwieder

Maybe you are looking for

  • Sso from webdynpro app (on WAS  2004s ) to BW web template ( on BW portal )

    Guys - We want to give BW Web template(running in 'Y' BW portal server ) as IFrame or URL Link in Webdynpro application ( Running in server X - WAS 2004s). We had setup SSO between java stack of X to Java stack of Y. but when i open url link,it is st

  • Bizarre-My saved changes keep disappearing

    I have separate domains in a folder, a system that has worked for me for over a year. Yesterday I did work on a school support site and a new school site for my district. Both are (site name) Domain 2.xsites 2. When I reopened the sites, any changes

  • Flash player not sapporting

    i want video chating but not sapporting flash player then chating site is not open in firefox browser

  • How can I get a stuck mini disk out of the slot?

    I know that I am possibly the most stupid prson in existence however I inserted a mini disk into the slot of my 1 day old 1st ever Mac ( a macbook). Needless to say from reading other posts here, and based on the fact that I cannot retrieve it I have

  • Oracle 10g Enterprise Manager Error

    Hi, I am getting below error when I open the Oracle-10G EM on GUI(Here my OS is Linux ES) "java.lang.Exception: No Such Target", Any idea wt will be the cause?