rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: chroda on September 19, 2006, 02:14:13 PM

Title: About <Flag as new> command (2.1 beta16)
Post by: chroda on September 19, 2006, 02:14:13 PM
Hi all,

For example :
In the Virtual File System (VFS), I have a real-folder called "dir" and which includes 3 subfolders called "subdir1", "subdir2" and "subdir3". I see "dir" in the VFS ; how to set <Flag as new> for "dir" (easy !), "subdir3" and only one file for example in subdir3 without impacting with the flag subdir1 and subdir2 (with their files) and the other files of subdir3 ?

It's easy with virtual-folder, is it possible with real-folders ?  How to circumvent this problem ?
Does somebody have an idea?

Thanks,
Chroda

Title: Re: About <Flag as new> command (2.1 beta16)
Post by: rejetto on September 21, 2006, 11:39:17 AM
all items read inside real-folders, are flagged as new depending on their "modified time".
if they were modified recently, they are new.
if you want to force the modified time of a file or dir, you can use an utility usually called "touch". such utility does not change the content of the file at all, just update the time.
Title: Re: About <Flag as new> command (2.1 beta16)
Post by: chroda on September 21, 2006, 03:56:17 PM
Ciao reje,
Indeed, it's a possibility
thanks for your answer ;)