Messages - DyNama [ switch to compact view ]

Pages: prev1 2 3 4 5 6 [7] 8 9 10 11 12 ... 15next
31
Finished Programs / Re: DONE: Sync folders by renaming files
« on: June 03, 2013, 11:10 AM »
That'll do, 4wd! terrific!

i did switch %dest% and %srce% in the for loop
    for /r "%dest%" %%a in (*.%ext%) do (call :CheckSize "%srce%" %%~za "%%~fa")
cuz it is indeed backwards from v3 which i was just using 7 hours ago! no, i was in fact using the real files this time, but i was trying it on an extension that doesn't have that many renames. being backwards means it un-renamed 2 files! i retrieved their old filenames from a catalog, no problem.

i also put in prompts when choosing the folders:
    echo Choose Source Folder
so i don't lose track of what i'm doing. would it be presumptuous of me to post here the whole file of my minor changes?

the neat thing about this program is that if i choose the wrong folder or type the wrong extension, it won't find any matches so it'll do nothing. another good thing is a folder that got partially backed up to 2 different destination just renames the files that are there and doesn't copy the missing files, something every sync program wants to do. after i run the program, i use Vice Versa Free, a file comparing program, to verify it got all the files renamed.

Thanx!


32
Finished Programs / Re: DONE: Sync folders by renaming files
« on: June 03, 2013, 03:14 AM »
i tried RenSSv1 (filesize only) on 2 folders with 16 ~320meg videos each and it worked just fine once i changed the file to ".avi", then ".wmv", then ".mp4". there's a way to pass the extension to the batch file too, isn't there?

then i tried RenSSv3 on a folder with 110 videos = 29.6gigs, and it's backup, of which only about a dozen files actually needed renaming. 22 .mp4s = 8gigs took about 15 minutes. 75 .wmvs = 16.8gigs took about 25minutes. does the program detect whether the file needs renaming? i much prefer selecting folders from a list rather than typing at a command prompt―thanx!

some files that should have been did not get renamed. also i get a DOS error message: The system cannot find the file specified. on one run i got it 9 times before it was done. most if not all of the new file names had punctuation marks in them, especially exclamation points, for example [email protected]. is there anything in the process that would balk at that?

Thanx for the help!

33
Finished Programs / Re: DONE: Sync folders by renaming files
« on: June 03, 2013, 02:35 AM »
The first batch file really does work! it is very clever! i couldn't have written it. a little low tech tho. perhaps i lied about the "whatever is easier".  :D

I'm an old DOS man, but i eventually forgot most of the DOS i knew when i reluctantly converted to Windows in 1995. i don't actually know how to set my path any more, so i put fciv in the same folder RenSSv3 is in. i neglected to say i'm running this on a win7 x64 Dell laptop with several external hard drives.

It's good to have a checksum option, but i just checked a couple hundred .jpgs and videos and couldn't find a single pair of files that were exactly the same size, even pix taken within seconds of each other. i do have lots of videos too, and i'm afraid checksums would take a long time. before i asked this question, i tried a few sync programs and dupe finders; FreeFileSync when given 2 dozen videos on each side to examine estimated it would take 2 hours. can it check the date and time instead of checksum?
 

34
Finished Programs / DONE: Sync folders by renaming files
« on: June 01, 2013, 04:10 PM »
Hi, gang,
When i download photos and videos from my camera, i move them off the sd card, and then immediately back them up to an external hard drive. eventually i rename the original photos with notes about the contents. the problem i'd like to solve is that the backup copies did not get the new name. i don't want to recopy them, that could take too long, i just want to match the files by size, date & time, and extention, none of which will change (i don't think i need checksum comparison), and put the new name on them.

[attachimg=#1][/attachimg]

I can actually match them manually by just sorting by size, which i've done in the file browser in the photo above. (isn't it amazing that no two photos or videos are exactly the same size!) now all i need is to copy each filename to the clipboard 1-at-a-time in the right panel, then apply the new name to the matching file in the left panel. but with dozens if not hundreds of files, that's a lot of work. i'd like an easier way to do that, please.

My thinking is a duplicate finder that offers to apply 1 filename to the other (in addition to deleting one, which i won't use, but that's what dupe finders usually offer to do), a file-syncing program that recognizes duplicate files, a program that shows the files that match together with a rename button or a checkbox and a Rename Selected button, a program that pops up a window for each match and offers to rename the right file to match the left or vice versa, a dual-pane explorer just like the above pic where i highlight the 2 files and press a button, whatever is easier.


35
Post New Requests Here / Re: IDEA: Very simple timeclock utility
« on: March 04, 2013, 03:00 AM »
here's another change. when you Add Comments To Log, the buttons don't line up unless you sent button 5 back to the left―change "xp+5" to "xp-450". here's the whole Comment subroutine:


Code: Autohotkey [Select]
  1. Comment:                ;;; ;Comment Gui triggered from tray menu
  2.   SetTimer, logchanges, OFF
  3.   Gui, 7:-SysMenu +AlwaysOnTop
  4.   Gui, 7:add, Text,,Add a Comment to the Log
  5.   Gui, 7:add, edit, w600 vcmnts,
  6.   Gui, 7:Add, GroupBox, w600 h60,Quick Text Buttons
  7.   Gui, 7:add, Button,xp+5 yp+25 w140 gCustComment1 , %Custom1%
  8.   Gui, 7:add, Button,x+10        w140 gCustComment2 , %Custom2%
  9.   Gui, 7:add, Button,x+10        w140 gCustComment3 , %Custom3%
  10.   Gui, 7:add, Button,x+10        w140 gCustComment4 , %Custom4%
  11.   Gui, 7:add, Button,xp-450 yp+25 w140 gCustComment5 , %Custom5%
  12.   Gui, 7:add, Button,x+10        w140 gCustComment6 , %Custom6%
  13.   Gui, 7:add, Button,x+10        w140 gCustComment7 , %Custom7%
  14.   Gui, 7:add, Button,x+10        w140 gCustComment8 , %Custom8%
  15.   Gui, 7:Font,Bold
  16.   Gui, 7:add, Button,xs w600 gsavecomment Default, &Save comments
  17.   Gui, 7:show,,Add a Comment
  18. Return ;;


also, somehow a LF/CR got deleted in line 321. without this, comments aren't written to the log.
Return  ;;savecomment:             ;;; ;save comment

should be
Code: Autohotkey [Select]
  1. Return  ;;
  2. savecomment:            ;;; ;save comment

Pages: prev1 2 3 4 5 6 [7] 8 9 10 11 12 ... 15next
Go to full version