Sometimes strange behaviour of SABNZB with date
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
-
- Newbie
- Posts: 31
- Joined: October 29th, 2011, 8:57 am
Sometimes strange behaviour of SABNZB with date
I download my movies with SABNZB by creating nzbs on an index-site and putting the nzb in the watched folder of sabnzb. I now notice that the downloaded movies are sometimes saved in a folder with the current date and sometimes in a folder with a date when the files were created. Can this behaviour be changed in SABNZB?
Last edited by dikkiedirk on April 21st, 2012, 9:42 am, edited 1 time in total.
Re: Sometimes strange beviour of SABNZB with date
I'll join this thread; I find this confusing / annoying too. I don't know the cause.
-
- Newbie
- Posts: 31
- Joined: October 29th, 2011, 8:57 am
Re: Sometimes strange behaviour of SABNZB with date
Glad I'm not the only one. Welcome aboard.
Re: Sometimes strange behaviour of SABNZB with date
I thought it was caused by a download having or not having a subdirectory, but that seems NOT to be the case.
Re: Sometimes strange behaviour of SABNZB with date
Some more investigation:
When I use "ll" or "ls -al", the download date is shown. That is what I want.
When I use nautilus, the old date is shown (the upload date? Or better: the directory creation date of the uploader), which Nautilus calls "Date Modified". When I lookup the properties, even Nautilus shows the download date too (just like "ll"). So Nautilus can show two dates. See picture.
See apparantly a directory on Linux has at least two dates...?
When I use "ll" or "ls -al", the download date is shown. That is what I want.
When I use nautilus, the old date is shown (the upload date? Or better: the directory creation date of the uploader), which Nautilus calls "Date Modified". When I lookup the properties, even Nautilus shows the download date too (just like "ll"). So Nautilus can show two dates. See picture.
See apparantly a directory on Linux has at least two dates...?
-
- Newbie
- Posts: 24
- Joined: April 11th, 2012, 5:20 am
Re: Sometimes strange behaviour of SABNZB with date
Probably has everything to do with the original uploader's settings for the rar/zip file.
If the one who packed the files chose the option to store the time that's probably what you get, if it was left away you'll make your own time.
And yes, on linux a folder or file has more than one date. It stores created, modified and last accesed times. (the last one: noatime is a nice one to disable btw).
edit, might help you:
You could use the following command to show all 3:
stat file.name
If the one who packed the files chose the option to store the time that's probably what you get, if it was left away you'll make your own time.
And yes, on linux a folder or file has more than one date. It stores created, modified and last accesed times. (the last one: noatime is a nice one to disable btw).
edit, might help you:
You could use the following command to show all 3:
stat file.name
Re: Sometimes strange behaviour of SABNZB with date
'stat' indeeds works for me:
After a 'touch' everything is set to 'now':
So I could use that in a post-process script as a workaround ...
Code: Select all
sander@R540:~/Downloads/SABdownloads$ stat virus.2/
File: `virus.2/'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 808h/2056d Inode: 6095055 Links: 2
Access: (0775/drwxrwxr-x) Uid: ( 1000/ sander) Gid: ( 1000/ sander)
Access: 2012-04-20 22:49:46.256655813 +0200
Modify: 2011-02-07 19:50:50.000000000 +0100
Change: 2012-04-20 22:49:46.180655810 +0200
sander@R540:~/Downloads/SABdownloads$
Code: Select all
sander@R540:~/Downloads/SABdownloads$ touch virus.2/
sander@R540:~/Downloads/SABdownloads$
sander@R540:~/Downloads/SABdownloads$
sander@R540:~/Downloads/SABdownloads$ stat virus.2/
File: `virus.2/'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 808h/2056d Inode: 6095055 Links: 2
Access: (0775/drwxrwxr-x) Uid: ( 1000/ sander) Gid: ( 1000/ sander)
Access: 2012-04-21 18:47:57.161623996 +0200
Modify: 2012-04-21 18:47:57.161623996 +0200
Change: 2012-04-21 18:47:57.161623996 +0200
sander@R540:~/Downloads/SABdownloads$
-
- Newbie
- Posts: 24
- Joined: April 11th, 2012, 5:20 am
Re: Sometimes strange behaviour of SABNZB with date
Yep.
You might want to use 'find' to automate stuff and touch everything recursively in the folder:
find . -exec touch {} \;
(The '.' is a wildcard here. )
You might want to use 'find' to automate stuff and touch everything recursively in the folder:
find . -exec touch {} \;
(The '.' is a wildcard here. )
Re: Sometimes strange behaviour of SABNZB with date
Often RAR files contain folders, these folders will get the date/time stamp as stored in the RAR file.
If you don't want this, you can use the "hidden" option ignore_unrar_dates (see http://wiki.sabnzbd.org/configure-special ).
If you don't want this, you can use the "hidden" option ignore_unrar_dates (see http://wiki.sabnzbd.org/configure-special ).
Re: Sometimes strange behaviour of SABNZB with date
I'll try that, but with two Divx files, both just plain files (no directories), one has an old date, one has the download date ...shypike wrote:Often RAR files contain folders, these folders will get the date/time stamp as stored in the RAR file.
If you don't want this, you can use the "hidden" option ignore_unrar_dates (see http://wiki.sabnzbd.org/configure-special ).
Re: Sometimes strange behaviour of SABNZB with date
If one is coming from a RAR file and the other not, this may explain date differences.
Also the Sort functions may affect dates.
Also the Sort functions may affect dates.
-
- Newbie
- Posts: 31
- Joined: October 29th, 2011, 8:57 am
Re: Sometimes strange behaviour of SABNZB with date
I have set it up in a way that each download gets unpacked in a separate folder. I want the folder to have the time and date it got created. The file should have time and date it got createted.
Re: Sometimes strange behaviour of SABNZB with date
[quote="dikkiedirk"The file should have time and date it got createted.[/quote]
No, it will get the date inside the RAR file.
If you don't want that, use the special option.
No, it will get the date inside the RAR file.
If you don't want that, use the special option.