oddlyspaced / advcpmv-compiled-mac

Compiled binaries for cp and mv with progress patch
0 stars 0 forks source link

Finder progress #1

Open gingerbeardman opened 1 month ago

gingerbeardman commented 1 month ago

Would be cool to set progress xattr on the destination file so that it's visible in finder.

On the shell I would do:

xattr -w com.apple.progress.fractionCompleted 0.654 file.ext

range is 0..1

Though you can do it with API too.

oddlyspaced commented 3 weeks ago

hi, can you explain more as to what this would do?

gingerbeardman commented 3 weeks ago

Sure!

It causes Finder to show a progress circle "pie chart" on the file or folder being copied:

Screen shot 2024-10-30 at 14 13 15

It would enable users to track the status of the copy away from Terminal.

oddlyspaced commented 3 weeks ago

Understood, let me check if this can be done in source directly 👍