screen
screen -ls
screen -r <session-#>
Ctrl + A + D
ls | xargs -I {} mv {} <prefix>{}
ls | xargs -I {} mv {} {}<suffix>
for f in *.png; do mv "$f" "${f#<prefix>}"; done;
source /path/to/mitsuba/setpath.sh
Note: source the setpath.sh file if $mtsutil command does not exist.
mtsutil tonemap -t *.exr
Windows
FOR /R %a IN (*.exr) DO convert "%~a" "%~dpna.png"
convert input.png -resize 1280x1024 resize.png
convert input.png -resize x1024 resize.png
convert input.png -resize 50% half_input.png
convert input.png -crop 1280x1024+10+10 output.png
convert col_1.png col_2.png +append output.png
convert row_1.png row_2.png -append output.png
convert col_1.png col_2.png +smush n output.png
convert row_1.png row_2.png -smush n col.png
ffmpeg -framerate 24 -i %04d.png -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p output.mp4
Set starting frame to be 10
ffmpeg -framerate 24 -start_number 10 -i %04d.png -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p output.mp4
Windows
C:\ffmpeg\bin\ffmpeg.exe -framerate 24 -i %04d.png -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p output.mp4
ffmpeg -i output.mp4 frames.%04d.png -hide_banner
ffmpeg -i input.mp4 -filter:v βcrop=1920:1080:0:0β output.mp4
Ctrl + Alt + Shift + R
df -h --total
du -hs /path/to/directory
du -hs * | sort -h
find /path/to/find -name <filename>
find /path/to/find -name <directory-name> -type d
find . -name '*.exr' -delete
prman -progress <file>.rib
To view more details
prman -progress -loglevel 4 <file>.rib
prman --version
Note: will get license with the latest available version
sudo /opt/pixar/RenderManProServer-<version>/bin/LicenseApp
/usr/autodesk/maya2020/bin/maya
in RIB (RenderMan file)
AttributeBegin
Bxdf "PxrSurface" "shader_name" "float diffuseGain" [1] "color diffuseColor" [1.0 1.0 1.0] "string __materialid" ["shader_name_SG"]
AttributeEnd