Welcome Guest.   Make a donation to an author on the site October 31, 2014, 01:36:59 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2012! Download dozens of custom programs!
   
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: Prev 1 ... 3 4 5 6 7 [8]
176  DonationCoder.com Software / Post New Requests Here / Re: IDEA: Command-line tool to move dir contents to existing subdirs on: April 26, 2006, 03:51:23 PM
should it use the Or or the And parameter for matching? Or a parameter on it's own?
Hmm, I'm not sure -- do you mean when moving filenames to existing folder named "antivirus" that match the pattern [ANTI or VIRUS] vs. [ANTI and VIRUS]?

Maybe a less complicated example is to sort music files as suggested by "app103" -- let's use that as a scenario. It could read a dir and look for very close similarities to existing subdirs, such that a subdir named Bing Crosby would match:
  • Bing Crosby - song name.ogg
  • Bing Crosby and David Bowie - Little Drummer Boy.wav
  • Bob Hope & Bing Crosby - vaudeville sketch.mp3

This type of grouping might be made easier by the standardization of the naming convention; you'd have
   artist space dash space title dot extension
...one can use a delimiter of " - " to make parsing easier and group by artist.

Another application using the original screensaver idea would be, using a subdir named Savers:
  • spinning globe saver.zip
  • screensaver switcher.exe
  • savers to download.txt

In this case, you'd have to somehow tell it to match [root-word]* (resulting in saver* for that one) to have 'em all grouped.

Does that help?


Reading this thread i am thinking about my start menu with a lot of items
Good idea! But the program we talked about above, File Sieve, sounds perfect for that task. smiley
By the way, I like your avatar! Is that a particular comic character, or did you make it?
177  Main Area and Open Discussion / General Software Discussion / Re: wanted: CLI tool to determine if Internet access yes/no on: April 26, 2006, 03:17:08 PM
Then I'd need to store the output and check it. I think it's just easier to use jgpaiva's idea.
Aha! After reading the linked thread I see better what you're after. I've used Pingometer with good success (it's mentioned in that thread). There's a related util called WWIP (Watch WAN IP) if you have a router. It'll basically pull an HTML page from it and look for a string that you specify. Great concept to stay current on a dynamic IP address without having to contact an external server, but I realize that's not exactly what you're looking for.
smiley
178  DonationCoder.com Software / Post New Requests Here / Re: IDEA: Command-line tool to move dir contents to existing subdirs on: April 25, 2006, 11:55:51 PM
Thanks, app103! Lanux128, I spent some time with it, and for what I'm describing it's not quite as powerful as the Directify! tool except that it's got a GUI. It will create a boatload of directories, but it doesn't have a way to only create dirs if there's more than X number of candidates, and it doesn't have any way to fix the results (take orphaned, single-file dirs and group 'em again). The result is that you get a lot of dirs, but no telling how the contents are grouped. The preview or "simulation" mode is helpful, but there's no way to sort it. It defaults to the existing alpha sort based on the original paths, which isn't much help when you're trying out new paths to see how well they work.  Wink

That said, it's got some other really powerful features, including being able to recurse into subdirs for its operations. It'll solve a lot of file "housekeeping" chores, but not the one described in this thread (at least not yet). It may end up including this capability as well, but I noticed two things that make me wonder how far it'll go: there's no way to edit the existing "methods" (like A-Z, delimiter, word, etc.) or create new ones, although there's a mention in the help file that it might be added to a future version. That may be a pretty trivial consideration, but I also noted that the discussion form referred to in the help file from January of this year is closed, at least temporarily. This says to me that the author may have run into some personal issues taking him away from coding and his website for now. (Then again, I could be way off!) tellme

Lotsa hobbyist (or even pro) coders tend to suffer burnout after awhile -- it's tough work on a good day, wrestling with attempts at logical code and dealing with cryptic error messages, operating system or development system quirks, and who knows what else. When you jump online and try to interact with the world along the way (feature requests, help demands and so on -- some people aren't even nice about their requests and won't give enough info about their situation) it can be a heckuva lot to deal with. Here's hoping he's able to keep going with the project!
179  DonationCoder.com Software / Post New Requests Here / Re: IDEA: Command-line tool to move dir contents to existing subdirs on: April 25, 2006, 10:26:46 PM
Thanks, lanux128 -- it's a good idea, and I'd seen similar utilities, but it always struck me that an A-Z designation would tell me little more than the standard Windows alphabetic sort does. smiley

Still, I'm sure that kind of function has its place, especially if you're making shareware CDs for a computer club or something! The program above has lots of potential -- I love the "smart creation" idea, where only folders are created that would contain files. But it would be a rare occasion indeed for someone to want empty A-Z directories. cheesy


Edit: I did some digging, and there's a version 3 beta 3 which seems to be getting much closer to what I'm looking for.

There's a new Delimiter mode that "creates a directory based on a delimiter within an item's name. Depending on the mode selected, the directory name is derived from an item's name as read from the start of the string up until the delimiter character, or it's read from the delimiter until the end of the name."

Another new mode is Substring:
There's a Words mode too.

I can see I'm going to have to spend some time experimenting with this puppy. I still don't think it does the matching to already-present subdirs, though, but thanks for the tip!
180  DonationCoder.com Software / Post New Requests Here / Re: IDEA: Command-line tool to move dir contents to existing subdirs on: April 25, 2006, 07:47:01 PM
Hmm... are you really downloading dozens of installers etc. that could be auto-categorized each day?
No -- just trying to figure out a way to clear out a directory with files that are orphaned. Currently: 15,497 files, 1255 folders. smiley


my memory is this came up in another discussion (in a renamer discussion?) and someone pointed us to a nice app for doing this.
That was me. Cool  But BrotherS is right; it makes subfolders based on file names and moved the files into those folders. The result is that it leaves orphans when at least one of two things happen: 1. you get new files, or 2. you have subtle variations on the filename.

I keep the threshold set for two or more files to move, because if I let it act on just one then I end up with a bunch of dirs with a single file in each. The developer of the app I mentioned ( Directify!) has been swamped and so hasn't updated the tool from its 0.2 version in about a year and a half.  Wink


I thinkCacheSort at http://www.donationcoder.com/forum/index.php?topic=1592.0 could be changed into what you want. Do you need a complete RegEx, or are wildcards sufficient?
That's a great idea! Wildcards would be a great improvement over what I have now, heh! But if even a primitive RegEx is possible, that would allow much more control. Whatever you have time to mess with would be gratefully received. cheesy  Even better is if there's a way for the app to make matches with less input, but I suspect that'd massively increase the size of the coding project.

The main issue is to match existing files to existing subdirs -- to join them with the rest of their type. I've got a boatload of utilities gathered over the years, mostly freeware (and I used to be a real regular at download sites, so I've seen pretty much every type of variation that's out there) but I've never seen anything that could make sense out of hundreds or thousands of orphan files that have mates in subdirs.

The only other consideration (just thought of it) is to somehow deal with filename collisions -- I guess "overwrite (yes/no/all/none/cancel)" is ideal if possible. If it uses a GUI then Windows XP and later already allow for a shift-click on the "no" button as "no to all" for the standard dialog.
181  Main Area and Open Discussion / General Software Discussion / Re: wanted: CLI tool to determine if Internet access yes/no on: April 25, 2006, 07:29:01 PM
What about the ping command that comes with Windows?
Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
            [-r count] [-s count] [[-j host-list] | [-k host-list]]
            [-w timeout] target_name

Options:
    -t             Ping the specified host until stopped.
                   To see statistics and continue - type Control-Break;
                   To stop - type Control-C.
    -a             Resolve addresses to hostnames.
    -n count       Number of echo requests to send.
    -l size        Send buffer size.
    -f             Set Don't Fragment flag in packet.
    -i TTL         Time To Live.
    -v TOS         Type Of Service.
    -r count       Record route for count hops.
    -s count       Timestamp for count hops.
    -j host-list   Loose source route along host-list.
    -k host-list   Strict source route along host-list.
    -w timeout     Timeout in milliseconds to wait for each reply.
182  DonationCoder.com Software / Post New Requests Here / IDEA: Command-line tool to move dir contents to existing subdirs on: April 25, 2006, 04:01:03 PM
This is one I've been needing for years, and I bet others could use it too (maybe with slight variations). I've got a big directory (folder) containing a hodgepodge of downloads. There're already subdirectories in the same dir, holding grouped files with a common theme. What I'd like to do is move files with a specific part of their name matching an existing subdir to those subdirs. This would ideally support delimiters, or some way to tell the program what part of the filename to use.

A mass-move of zip or EXE files isn't what I'm thinking of here -- more like "* saver*.*" being moved to a dir named "*saver*" (which would break out to savers, screensavers, or something similar -- although that particular wildcard would also include VersaVerter if it exists, which is the name of a cool measurement converter).

If there're multiple "hits", it would it would ideally return a numbered list of candidates, where you could just type the number and hit enter, but if that's a deal-breaker then it could just be whichever the program finds first.

Whatcha think? It sounds simple, but maybe there're coding issues I haven't thought of. smiley
183  DonationCoder.com Software / Post New Requests Here / Re: DONE: DimSaver, a better PowerDimmer screensaver alternative on: April 24, 2006, 08:17:38 PM
Cavalcader, I can't reproduce this. Also, what do you mean by
Quote
it only seems to permit one exclusion at a time to be checked
?
Fixed! Whatever you did corrected the mouse click issue.  Thmbsup

Also, I had misunderstood the saver selection dialog -- I was thinking DimSaver would automatically pick from any of the items checked under "Screensaver to run". I'm used to seeing radio buttons when you can only make one selection, where checkboxes are for multiple selections.  Wink

No matter. The image addition looks really sharp! As does the color option -- I was experimenting with 202020, which is like turning the contrast way down (as opposed to "dimming to black" which is like turning the brightness down). On some monitors you can see the results better. cheesy  Thank you!
184  DonationCoder.com Software / Post New Requests Here / Re: DONE: DimSaver, a better PowerDimmer screensaver alternative on: April 23, 2006, 03:40:15 PM
Hi, Skrommel -- looks like a cool saver! Couple bug reports: mouse clicks aren't recognized (at least with mouse movements unchecked and keystrokes checked). Also, it only seems to permit one exclusion at a time to be checked, and I've got several that need to be excluded.  smiley

Got a couple goodies to offer, though -- a custom "preview" image if you want it (just the generic default in XP, dimmed, with the saver name in Lucida Handwrighting) and a screenshot of the options dialog in a similar saver called AlphaDim. It doesn't include most the features of yours, but it's got a few other novel ideas for next time you're playing with DimSaver.  cheesy
185  News and Reviews / Official Announcements / Re: Contest - Come up with a novel idea for DonationCredits on: April 15, 2006, 09:20:06 PM
not sure what that would be.. maybe a charitable fund to bring computers to schools that can't afford them?
I know it's easy for me to sit back and take potshots at other people's ideas embarassed but there're already groups that work towards school computers -- and then it's just another piece of equipment/furniture collecting dust, breaking down or being outdated pretty quick.

If we put the muscle of a whole community behind a charitable venture, shouldn't it be something where at least one person can look back and say "wow, that really changed things for me!", you know? With computers being a commodity in many countries (I know, not all) it seems sorta impersonal somehow. There're also groups that manage charitable seeing-eye dogs and so on -- maybe it could be something more unique if it's going outside the concept of coding rewards.

I'll be thinking about something more useful to suggest, rather than just trying to shoot holes in others' ideas Wink but that was just kinda my first reaction...
186  Other Software / Found Deals and Discounts / Re: Bits du Jour - One Software Title Each Day At A Big Discount on: April 14, 2006, 01:46:45 PM
Don't feel bad, zridling -- they're in it for the long haul.  mrgreen
187  Main Area and Open Discussion / Living Room / Re: hard drive resurrection [I'm desperate!] on: April 13, 2006, 12:23:46 PM
the free data recovery program "PC Inspector: File Recovery" seems to do just as good a job with the data/files
Very nice! Thanks for the link.  Thmbsup
188  Other Software / Found Deals and Discounts / Re: Bits du Jour - One Software Title Each Day At A Big Discount on: April 10, 2006, 08:14:20 PM
Also, Scooter Software (Beyond Compare creators) have a good support forum where the staff are responsive to requests for help. I registered Beyond Compare over four years ago and I can vouch for the program's ongoing improvement and reliability.
189  Other Software / Found Deals and Discounts / Re: Bits du Jour - One Software Title Each Day At A Big Discount on: April 10, 2006, 09:34:11 AM
Today's special is Beyond Compare at half price -- so if anybody's on the fence about this excellent, well-supported program, today's the day!
190  Main Area and Open Discussion / Living Room / Re: hard drive resurrection [I'm desperate!] on: April 05, 2006, 12:21:30 AM
I can't use Spinrite, because the drive won't be detected.
Actually, SpinRite goes directly to the hardware (boots directly into a custom environment) so you've got a chance -- but it's probably still better to pay a pro company to do it since that's what they do every day. Sorry to hear about the hassle, though!
191  Main Area and Open Discussion / General Software Discussion / Re: Review of File Renamers on: April 04, 2006, 11:33:13 PM
Maybe this upcoming renamers review could somehow be the first part of a "mass file maintenance" overview. For example, I use a cool (free) tool called "Directify!" that auto-creates subdirs based on existing filename patterns and then moves the files to them. Truly indispensable if you've ever needed something like that.  Kiss

Here're the current command options if you're interested...
Pages: Prev 1 ... 3 4 5 6 7 [8]
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.078s | Server load: 0.16 ]