Browse Source

Add editing command line for easy copy & paste

master
parent
commit
6e5de3016d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      import_pic.sh

+ 1
- 0
import_pic.sh View File

@@ -34,3 +34,4 @@ mv "$FILE" $DESTDIR/$PADDED_NEXT_NUMBER-$NAME$FILE_EXT
echo -e "---\ndescription: Description here\ndate: `date -R`\ntags:\n - scan\n - mdscan" >$DESTDIR/$PADDED_NEXT_NUMBER-$NAME.yaml

echo "Imported as $PADDED_NEXT_NUMBER-$NAME.yaml / $PADDED_NEXT_NUMBER-$NAME$FILE_EXT"
echo "Edit description with eg. 'emacs $DESTDIR/$PADDED_NEXT_NUMBER-$NAME.yaml'"

Loading…
Cancel
Save