#!/bin/bash
declare -a months=("01 - Janeiro" "02 - Fevereiro" "03 - Março" "04 - Abril" "05 - Maio" "06 - Junho" "07 - Julho" "08 - Agosto" "09 - Setembro" "10 - Outubro" "11 - Novembro" "12 - Dezembro")
for ano in /mnt/data/media/Pictures/Dropbox/video/*; do
if [ -d "${ano}" ] && [ $((10#$(basename "${ano}"))) -le 2024 ]; then
for folder in "${ano}"/*; do
pasta=$(basename "${folder}")
nro=$((10#${pasta}))
link: https://www.linuxjournal.com/content/rebooting-magic-way
Reboot when reboot
does not work.
echo 1 > /proc/sys/kernel/sysrq
echo s > /proc/sysrq-trigger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#wget http://dl-ak.solidworks.com/nonsecure/draftsight/2019SP2/draftSight.deb | |
wget http://dl-ak.solidworks.com/nonsecure/draftsight/2019SP3/draftSight.deb | |
sudo dpkg -i draftSight.deb | |
sudo apt-get install -f | |
sudo apt install faketime menulibre | |
cd /opt/dassault-systemes/DraftSight/Linux/ | |
env --unset=XDG_CURRENT_DESKTOP --unset=DESKTOP_SESSION --unset=GNOME_DESKTOP_SESSION_ID faketime '2019-12-01 08:15:42' "/opt/dassault-systemes/DraftSight/Linux/DraftSight" | |
sudo nano /usr/share/applications/dassault-systemes_draftsight.desktop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo snap install --devmode --beta anbox | |
snap restart anbox.container-manager | |
sudo apt install android-tools-adb anbox | |
ls /lib/modules/`uname -r`/kernel/drivers/android/binder_linux.ko | |
ls /lib/modules/`uname -r`/kernel/drivers/staging/android/ashmem_linux.ko | |
sudo modprobe ashmem_linux | |
sudo modprobe binder_linux |
Instruções originais: https://murrahjm.github.io/Exporting-WSL-data/
Liste as distribuições WSL disponíveis:
wsl.exe -l
Distribuições do Subsistema do Windows para Linux:
Alpine (Padrão)
WLinux
NewerOlder