• 0

Software to delete files at Random


Question

I know my request my seems odd, but I need a software that deletes files from a folder (and subfolders) randomly to satisfy certain conditions. For example, I want to specify a large folder and request that it deletes files at random until the size of that folder is, say, 200 MBs.

Does anyone know of an utility that does this kind of stuff? And if someone needs to ask, I want to use this utility on large picture galleries (jpg's) to reduce Hard-drive usage.

Link to comment
https://www.neowin.net/forum/topic/943558-software-to-delete-files-at-random/
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Why delete them at random? Why not just start at the oldest pics, put the ones that you really really want to keep on a CD/DVD and then delete the rest? I can understand the mentality of "but when I see them I'll want to keep all of them" but ultimately you just need to man up like I do with films, music and pictures and say, "once these are gone, a week from now I won't remember what they were."

At least this way you'd be sure that nothing gets accidentally deleted by a random deletion.

However, to answer your question, I don't think such a program exists. Try looking in to contracting a virus though, I hear some of them are quite good at deleting files randomly...

  • 0
  On 06/10/2010 at 09:58, dancsi said:

Well, you can always write a quick-n-dirty program in some of the .NET languages, or I guess that there is a way to do it with a powershell script

Yeah, I might end up doing that... Just thought there might be a good general purpose utility for this kind of task.

  • 0

Deleting pictures at "random" is not really the correct answer. Come on you have to be kidding, that's the solution you come up with??

Here are better solutions.

Delete/Archive the pictures you do not need! Continue to justify deletion/archival based upon some criteria that ranks importance of the images that should be maintained in the gallery until goal of storage space used is obtained.

Reduce the file size of the images to fit all of them in the space you have, be it either through reduction in pixels x pixels size or since jpg by quality of the image.

Get more space to allow for current images at current size and quality, better yet increase size to allow for growth. (BEST Solution)

Some combination of all of the above.

Delete at random?? That's just plan insane!

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I just made an account on 0patch I'm going to for 5 years in advance My fully loaded Acer aspire 7 (2019) will live up these 5 years in ease Laptop is not glued, there are about 20 screws to open it, I can maintain it with ease, no soldered memory or so, I clean it up every 6 months, I'l last for maybe another 8 years
    • Microsoft Teams gets a much needed health dashboard for admins by Usama Jawad Microsoft Teams is one of the most widely used tools for online collaboration and communication, especially in enterprise environments. This also means that any problem with the software has the potential to impact many customers and workflows. Up until now, the Teams troubleshooting process was fairly manual and cumbersome, but Microsoft is now looking to resolve this issue with a new "Teams client health" dashboard for admins. If a Teams instance now faces any kind of disruption, Teams administrators and helpdesk teams can use this dashboard to proactively diagnose and resolve the problem, rather than waiting for a disgruntled user to come to them with incomplete information. Microsoft says that Teams client health is focused on providing actionable insights that actually do require administrator input, surfacing actual issues that cannot self-heal, and highlighting persistent problems rather than one-offs. The Redmond tech firm has highlighted several scenarios where the Teams client health dashboard can enhance productivity with minimal disruption to workflows. One example is dealing with customers who are experiencing crashing issues in Teams. Rather than engaging in a manual process that involves asking them to reproduce the issue, you can simply leverage the health dashboard to spot problematic spikes and then remediate them yourself (as a Teams admin) through the provided mitigation guide. Similarly, another scenario involves monitoring and auditing if people within your organization are using the latest version of Teams. Right now, this is a very manual process, but with the health dashboard, you get these insights directly, including details about potential issues that might be blocking Teams updates. As expected, the Teams client health dashboard is available for admins and helpdesk teams within the Teams Admin Center. Still, Microsoft has encouraged customers to bookmark a direct link to the dashboard for easier recurrent navigation.
    • Fact that microsoft needs to explain why.. that prooves that they kinda failed with win 11.......... like Vista
    • they are putting so many **** but even like that its still better than move to 11 i guess
    • thats what many did, i remember i used 8.1 and to my surprise it was not bad once you install classic shell, but w10 its a improvement over 8 and many moved from 7 to it because it was a decent OS, the same way that people moved from XP to 7 because vista was a disaster but 7 was good. We can hope that w12 its great. until then w10 can stay longer and ltsc version its perfect
  • Recent Achievements

    • Reacting Well
      pelaird earned a badge
      Reacting Well
    • Mentor
      The Werewolf went up a rank
      Mentor
    • First Post
      Myriachan earned a badge
      First Post
    • Week One Done
      DrRonSr earned a badge
      Week One Done
    • Week One Done
      Sharon dixon earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      609
    2. 2
      ATLien_0
      219
    3. 3
      +FloatingFatMan
      169
    4. 4
      Michael Scrip
      158
    5. 5
      Som
      148
  • Tell a friend

    Love Neowin? Tell a friend!