Author Topic: Add time and date to unrared folder  (Read 2163 times)

Offline CriminalMind

  • Contributor
  • ***
  • Posts: 7
Add time and date to unrared folder
« on: December 23, 2009, 09:02:53 pm »
Hi,

I use the auto unrar function when I download. Only thing I miss with Alt.Binz is the option to add date(possibly time) to the folder made after unraring. At my computer I can sort after date, but when I watch my shows via my PS3 I can't.

Thanks : )

Offline Ascathon

  • Contributor
  • ***
  • Posts: 608
    • vandenekker.com
Re: Add time and date to unrared folder
« Reply #1 on: December 23, 2009, 09:27:28 pm »
Set AltBinz to extract the files to a folder different then the download folder, and Windows will set the date when the new folder is created. Should do the trick instead of letting AltBinz mess around with file dates.
Save the Whales - Harpoon a Honda

Offline CriminalMind

  • Contributor
  • ***
  • Posts: 7
Re: Add time and date to unrared folder
« Reply #2 on: December 25, 2009, 12:37:17 am »
Set AltBinz to extract the files to a folder different then the download folder, and Windows will set the date when the new folder is created. Should do the trick instead of letting AltBinz mess around with file dates.

From OP:
"At my computer I can sort after date, but when I watch my shows via my PS3 I can't."

I had this option when I used Newsleecher, and that's the only thing I miss when downloading with Alt binz. Not very urgent, but would be nice to have if it can be done easily.

Offline DAL

  • Contributor
  • ***
  • Posts: 4
Re: Add time and date to unrared folder
« Reply #3 on: December 26, 2009, 09:25:43 pm »
You can execute a script with a default execute command in Setup/NZB#2.
This thread has a date/time script:

https://www.altbinz.net/forum/index.php?topic=1244.0

Scroll to the sample batch script that logs all new files in download and unrar directories with date/time stamps.

I have the default execute command log only the unrars $u and collection name $col with date/time. I edited the logdownloads.bat script to put a log file into my unrar diretory.

My unrar directory is C:\IN\Movies\Unrar

I changed the location of the logfile

from

set logfile=C:\dldlog.txt

to

set logfile=C:\IN\Movies\Unrar\dldlog.txt

I put the logdownloads.bat into the Alt.BinZ 0.31.2 directory.

This default execute command worked for me:

"C:\Program Files\Alt.BinZ 0.31.2 binary news reader\logdownloads.bat" $u $col

Quotes enclose the path to logdownloads.bat because my path contains spaces. I also tried enclosing $u $col with quotes: "$u $col" but that didn't work.

The command only works for rar files. It does not log parts files such as file.001, file.002, etc.


« Last Edit: December 26, 2009, 09:28:42 pm by DAL »