Can you tell me the format for #split for from and to?

General discussion related to "Everything".
Post Reply
harryray2
Posts: 1050
Joined: Sat Oct 15, 2016 9:56 am

Can you tell me the format for #split for from and to?

Post by harryray2 »

I've just re-visited the journal log format...split looks interesting.
Can you tell me the format for #split for from and to? ie. copy from to, move from to etc.

Currently I'm using: journal_log_format=#date:<DD-MM-YYYY hh:mm:ss> #action:<-6> "#filename:"

Update:
Is this correct?
journal_log_format=#date:<DD-MM-YYYY hh:mm:ss> #action:<-6> #split: "#filename:"
dave
Posts: 3
Joined: Mon May 20, 2019 11:41 pm

Re: Can you tell me the format for #split for from and to?

Post by dave »

I tried the format (the one with #split: in it) in your post, it seems to work fine for me.
I guess you can just try it to see if it's correct or not?
void
Developer
Posts: 15349
Joined: Fri Oct 16, 2009 11:31 pm

Re: Can you tell me the format for #split for from and to?

Post by void »

Use #split: early in your format.

It is replaced with nothing and will flag Everything to log renames/moves as two lines.
One line for the old filename and one line for the new filename.
harryray2
Posts: 1050
Joined: Sat Oct 15, 2016 9:56 am

Re: Can you tell me the format for #split for from and to?

Post by harryray2 »

Thanks, it appears to work when moving a file, but when copying there is just one entry that says create. Also when pasting, it just says create.
void
Developer
Posts: 15349
Joined: Fri Oct 16, 2009 11:31 pm

Re: Can you tell me the format for #split for from and to?

Post by void »

A single line is expected for copying.
The action will be create.

Only rename and move actions (on the local volume) will be split over two lines.
harryray2
Posts: 1050
Joined: Sat Oct 15, 2016 9:56 am

Re: Can you tell me the format for #split for from and to?

Post by harryray2 »

Thanks, I realised when I looked at the Index Journal.

Any chance of changing that in the future so that copy (and paste) is shown in the logs and the Index Journal, rather than just create?
void
Developer
Posts: 15349
Joined: Fri Oct 16, 2009 11:31 pm

Re: Can you tell me the format for #split for from and to?

Post by void »

Everything cannot detect the "create" as a "copy"

The copy is seen as a newly created file to the USN Journal and Everything.
harryray2
Posts: 1050
Joined: Sat Oct 15, 2016 9:56 am

Re: Can you tell me the format for #split for from and to?

Post by harryray2 »

OK, thanks....
Post Reply