IPB

Welcome Guest ( Log In | Register )

> Upload forum rules

- No over 30 sec clips of copyrighted music. Cite properly and never more than necessary for the discussion.


- No copyrighted software without permission.


- Click here for complete Hydrogenaudio Terms of Service

 
Reply to this topicStart new topic
Case's Sweep
Mr_Rabid_Teddybe...
post Aug 7 2005, 17:22
Post #1





Group: Members
Posts: 1197
Joined: 3-September 03
From: Bergen, Norway
Member No.: 8667



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.

This post has been edited by Mr_Rabid_Teddybear: Jan 26 2006, 18:27
Attached File(s)
Attached File  Sweep.zip ( 19.24K ) Number of downloads: 671
 


--------------------
"ONLY THOSE WHO ATTEMPT THE IMPOSSIBLE WILL ACHIEVE THE ABSURD"
- Oceania Association of Autonomous Astronauts
Go to the top of the page
+Quote Post
cabbagerat
post Aug 7 2005, 18:56
Post #2





Group: Members
Posts: 1018
Joined: 27-September 03
From: Cape Town
Member No.: 9042



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/


--------------------
Simulate your radar: http://www.brooker.co.za/fers/
Go to the top of the page
+Quote Post
Mr_Rabid_Teddybe...
post Aug 7 2005, 23:39
Post #3





Group: Members
Posts: 1197
Joined: 3-September 03
From: Bergen, Norway
Member No.: 8667



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
Go to the top of the page
+Quote Post
Mr_Rabid_Teddybe...
post Oct 4 2006, 23:42
Post #4





Group: Members
Posts: 1197
Joined: 3-September 03
From: Bergen, Norway
Member No.: 8667



[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
#!/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
Go to the top of the page
+Quote Post
sn0wman
post Oct 17 2006, 09:36
Post #5





Group: Members
Posts: 82
Joined: 3-February 05
Member No.: 19557



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

This post has been edited by sn0wman: Oct 18 2006, 09:11
Go to the top of the page
+Quote Post
Narag
post Oct 17 2006, 11:58
Post #6





Group: Members
Posts: 38
Joined: 6-February 02
From: Prague
Member No.: 1274



QUOTE (sn0wman @ Oct 17 2006, 10:36) *
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
Go to the top of the page
+Quote Post
Mr_Rabid_Teddybe...
post Oct 17 2006, 14:20
Post #7





Group: Members
Posts: 1197
Joined: 3-September 03
From: Bergen, Norway
Member No.: 8667



QUOTE (sn0wman @ Oct 17 2006, 00:36) *
//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
Go to the top of the page
+Quote Post
sn0wman
post Nov 15 2006, 16:27
Post #8





Group: Members
Posts: 82
Joined: 3-February 05
Member No.: 19557



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 *.*
Attached File(s)
Attached File  dSweep.rar ( 29.97K ) Number of downloads: 470
 
Go to the top of the page
+Quote Post
Narag
post Nov 16 2006, 09:01
Post #9





Group: Members
Posts: 38
Joined: 6-February 02
From: Prague
Member No.: 1274



QUOTE (sn0wman @ Nov 15 2006, 16:27) *
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 smile.gif
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd September 2014 - 12:00