Convert all JPG files in a directory to PDF files with the same names:
mogrify -format pdf -- *.jpg
Delete directory with files and/or subdirectories in it:
rm -rf <directory_name>
Use with care!
So you want to add your own text to the dimension line in AutoCAD drawing, but you also want to keep the actual measurement data included somewhere in the custom text.
- Right mouse button on dimension
- Text override
- Type <> for the placeholder of the original measurement
Send multiple separate PDF files to printer for printing from command line:
for FILE in *.pdf ; do lpr “$FILE” ; done
Trying to mount remote NFS shares on Ubuntu 12.04 you get an error:
mount.nfs4: No such device
… and retry.
So you set up your NFS server and NFS client. All goes well. Shares mount Ok. You can read all the files you want. But! You can’t write. The mounted NFS shares are not writable. You check your setup (/etc/exports, /etc/fstab), but all seems well.
Check the files system permissions at your NFS server! It is possible, that the mount point you are exporting as rw (read-write) share in fact has only read permissions and, of course, is not writable despite whatever NFS thinks.
List files and directories using ls with full (absolute) paths:
ls -d1 $PWD/*