Hromadna uprava fotek / příklad
#!/bin/bash
for file in *.jpg; do convert $file -resize 1600 new-$file; done
#!/bin/bash
for file in *.jpg; do convert $file -resize 1600 new-$file; done
cat /etc/udev/rules.d/60-vboxdrv.rules
KERNEL==”vboxdrv”, NAME=”vboxdrv”, OWNER=”root”, GROUP=”vboxusers”, MODE=”0660″
KERNEL==”vboxdrvu”, NAME=”vboxdrvu”, OWNER=”root”, GROUP=”vboxusers“, MODE=”0666″
KERNEL==”vboxnetctl”, NAME=”vboxnetctl”, OWNER=”root”, GROUP=”vboxusers”, MODE=”0660″
SUBSYSTEM==”usb_device”, ACTION==”add”, RUN+=”/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor vboxusers”
SUBSYSTEM==”usb”, ACTION==”add”, ENV{DEVTYPE}==”usb_device”, RUN+=”/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor vboxusers”
SUBSYSTEM==”usb_device”, ACTION==”remove”, RUN+=”/usr/lib/virtualbox/VBoxCreateUSBNode.sh –remove $major $minor”
SUBSYSTEM==”usb”, ACTION==”remove”, ENV{DEVTYPE}==”usb_device”, RUN+=”/usr/lib/virtualbox/VBoxCreateUSBNode.sh –remove $major $minor”
printf ‘\e[38;5;40m Test test barvy \e[0m\n’
#!/bin/bash
for((i=16; i<256; i++)); do
printf "\e[48;5;${i}m%03d" $i;
printf '\e[0m';
[ ! $((($i - 15) % 6)) -eq 0 ] && printf ' ' || printf '\n'
done