bassmanitram / actions-for-nautilus

An extension to the Gnome "Files" file manager that allows you to add arbitrary actions to the file selection context menu.
Apache License 2.0
165 stars 16 forks source link

Version prep #21

Closed bassmanitram closed 1 year ago

bassmanitram commented 1 year ago

Release 1.4.0 prep

biokomiker commented 1 year ago

Seems to work - nice to directly see the commands (and to learn from them) and eventually to import entries from others ;)

biokomiker commented 1 year ago

A command I use to compress video files generated from my camera: { "type": "command", "label": "encode video with H.265", "command_line": "ffmpeg -y -hide_banner -i %b -vf yadif -c:v hevc %w.mp4 ; exiftool -ee -overwrite_original_in_place -tagsFromFile %b %w.mp4", "cwd": "%d", "use_shell": true, "mimetypes": [ "video/*" ], "filetypes": [ "!directory", "standard" ] },

It works with MTS files (Sony) and MOV files (Canon ?) which have H264 codec. Compression is ~ 10x I added the exiftool command to copy the tag of recorded time stamp.

bassmanitram commented 1 year ago

It works with MTS files (Sony) and MOV files (Canon ?) which have H264 codec. Compression is ~ 10x I added the exiftool command to copy the tag of recorded time stamp.

Very cool - thx. I've added it to the wiki.

Can you send me the JSON config for your deja-dup action too.

Thx

biokomiker commented 1 year ago

I tweaked the deja-dup a bit: It is also possible to restore a) directories and b) multiples files and directories in one rush.

{
  "type": "command",
  "label": "restore previous version",
  "command_line": "deja-dup --restore %F",
  "mimetypes": [],
  "filetypes": [
    "file",
    "directory"
  ]
},

@Martin: I send the whole config by email but apparently it did now come through ...