1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Delete files in folder larger than x megs in size?

Discussion in 'Black Hat SEO' started by MyspaceisstillCool, May 10, 2015.

  1. MyspaceisstillCool

    MyspaceisstillCool BANNED BANNED

    Joined:
    Feb 16, 2015
    Messages:
    304
    Likes Received:
    36
    Scraped a couple thousand pictures but some are bigger than I want so would take to long when reuploading them.

    How can I delete the pics over x megs?
     
    Last edited: May 10, 2015
  2. HoNeYBiRD

    HoNeYBiRD Jr. VIP Jr. VIP

    Joined:
    May 1, 2009
    Messages:
    7,502
    Likes Received:
    8,428
    Gender:
    Male
    Occupation:
    Geographer, Tourism Manager
    Location:
    Ghosted
    pretty easy, order the pics by size (not dimension, but byte/KB/MB) in your folder, i think it even can be done in windows explorer or use total commander, select the files which are bigger than the desired size and delete them
     
    • Thanks Thanks x 2
  3. bartosimpsonio

    bartosimpsonio Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 21, 2013
    Messages:
    12,748
    Likes Received:
    11,414
    Occupation:
    COINZ
    Location:
    BUYAH
    Home Page:
    Either this ^ ^ ^ or write a short program to do it.
     
  4. MyspaceisstillCool

    MyspaceisstillCool BANNED BANNED

    Joined:
    Feb 16, 2015
    Messages:
    304
    Likes Received:
    36
    Perfect, that did the trick, thanks.