Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Case's Sweep (Read 18205 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Case's Sweep

Case's Sweep.exe. Small useful tool, now gone from his site....
Quote
Usage: SWEEP [/s] <command + parameters...>
Executes given command in all subdirectories
Option /s turns silent mode on


EDIT: Found original zip file. Here's binary and source in the same archive.
"ONLY THOSE WHO ATTEMPT THE IMPOSSIBLE WILL ACHIEVE THE ABSURD"
        - Oceania Association of Autonomous Astronauts

Case's Sweep

Reply #1
This is a fairly handy little program. Doesn't seem to have a licence though - under what terms can it be distributed? This utility is nice and easy to use, but if it's too limited for what you want to do, then try a windows port of the Unix find utility. There's a port of GNU findutils here: http://unxutils.sourceforge.net/

Case's Sweep

Reply #2
It does what it does (run *something* recursively) very well, when that's all you need. And often that's just it. I thought it's to good to be lost. To my knowledge there's never been any kind of license on it, Case just had the compiled binary and source file uploaded, so it's not GNU compatible in anyway, I guess. I will remove it immediately if Case has any objections, though. But I guess he doesn't. There's a fair amound of his other apps being hosted elsewhere & roundabout....
"ONLY THOSE WHO ATTEMPT THE IMPOSSIBLE WILL ACHIEVE THE ABSURD"
        - Oceania Association of Autonomous Astronauts

Case's Sweep

Reply #3
[ancient thread resurrection]

GNU "find" is a very useful and versatile app. However at the cost of being
rather complex and demanding a lot of typing to initialize certain functions.
Here's a script that tries to mimic sweeps simple function on Linux:

Code: [Select]
#!/bin/bash
[ $# -eq 2 ] || { echo "run something recursively from working directory";
                  echo "usage: `basename $0` '<command>' '<glob>'"; exit; }
echo
echo "`date "+%F %T"` running command:"
echo "find . -name \"$2\" -type f -exec $1 '{}' \;"
echo
find . -name "$2" -type f -exec $1 '{}' \;


[/ancient thread resurrection]
"ONLY THOSE WHO ATTEMPT THE IMPOSSIBLE WILL ACHIEVE THE ABSURD"
        - Oceania Association of Autonomous Astronauts

Case's Sweep

Reply #4
i have kind of smarter version of sweep (reworked), which reads %s parameter, and when outputs a file, replaces it with a current folder name. so now for example its possible to sweep par.exe and get recovery volumes named with the folder name they are in.

//if any1 wants, i will upload it, but when back having an internet connection at home

Case's Sweep

Reply #5
i have kind of smarter version of sweep (reworked), which reads %s parameter, and when outputs a file, replaces it with a current folder name. so now for example its possible to sweep par.exe and get recovery volumes named with the folder name they are in.

//if any1 wants, i will upload it, but when back having an inernet connection

I'd be interested in this new version, thanks.

Narag

Case's Sweep

Reply #6
//if any1 wants, i will upload it, but when back having an inernet connection

Bring it on!
"ONLY THOSE WHO ATTEMPT THE IMPOSSIBLE WILL ACHIEVE THE ABSURD"
        - Oceania Association of Autonomous Astronauts

Case's Sweep

Reply #7
it has been made by Dukey.

example of new use:

sweep par2 c -r10 -n1 -s1536000 par2file.par2 *.*
dsweep par2 c -r10 -n1 -s1536000 %s *.*

Case's Sweep

Reply #8
it has been made by Dukey.

example of new use:

sweep par2 c -r10 -n1 -s1536000 par2file.par2 *.*
dsweep par2 c -r10 -n1 -s1536000 %s *.*

I!m going to test it soon, thanks a lot