Results 1 to 3 of 3

Thread: Is there a way to add an emblem to a file via the terminal?

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Location
    Toronto, ON, CA
    Beans
    405
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Is there a way to add an emblem to a file via the terminal?

    I would like to add an emblem to a file/folder via terminal.
    The idea is to be able to select certain folders/files via nautilus and then using a nautilus-script, add a predefined emblem to them.
    Is there any way to do this? Please share!

    Thanks,
    Drew

  2. #2
    Join Date
    Feb 2008
    Location
    Toronto, ON, CA
    Beans
    405
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Is there a way to add an emblem to a file via the terminal?

    bump (43 views but no leads? I am sure someone knows sooomething that could point me in the right direction)

  3. #3
    Join Date
    Feb 2010
    Beans
    10

    Re: Is there a way to add an emblem to a file via the terminal?

    The code for adding an emblem to a file via the terminal is:
    gvfs-set-attribute -t stringv FILE metadata::emblems EMBLEMNAME
    For FILE substitute the address of the file you want to add an emblem to, and for EMBLEMNAME substitute one of the following emblem names:
    OK certified cool danger distinguished draft erase favorite important new ohno personal special urgent
    Refresh the directory of the file you have added an emblem to in Nautilus in order to see your new emblem.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •