add_attachment

레코드에 첨부를 추가합니다.

개요

add_attachment [common options] [-t/ype record type] -a/ction name] [-f/ield field name] [-co/mment comment] [ -record record id] file name ...

설명

레코드에 파일을 첨부로 추가합니다. 여러 개의 파일 이름을 지정할 수 있습니다. 여러 개의 파일 이름과 주석을 지정하면 주석이 다음 파일 이름에 지정됩니다.

옵션 및 인수

-t/ype record type
검색할 레코드 유형입니다. 값을 제공하지 않으면 기본 레코드 유형이 사용됩니다.
-a/ction name
조치 이름입니다. 값을 제공하지 않으면 "Modify" 조치가 사용됩니다.
- f/ield file name
첨부 레코드 필드의 이름입니다. 값을 제공하지 않으면 필드 이름 "Attachments"가 사용됩니다.
-co/mment comment
첨부와 연결할 주석입니다.
-record record id
첨부와 연관된 레코드 ID입니다.

예제

CQTOOL> add_attachment -record 9243 screen.jpeg -co "Screen shot"
CQTOOL> add_attachment -f other_attachments -record 8722 source.h

피드백