strobocock
https://200ok.blogger.de/
Blogger.de
mikeace
2023-03-29T05:53:23Z
en
hourly
1
2000-01-01T00:00:00Z
-
I wanted to change the file...
https://200ok.blogger.de/stories/2862817/
I wanted to change the file time (creation/access/change) according to the date and time encoded in the filename.
Here are two examples using awk:
For filenames of type '20221206_191944.jpg':
$ for f in *_*; do t=$(echo "$f" | awk -F '[_.]' '{print substr($1$2,0,12) "." substr($2,5,2)}'); echo touch -t "$t" "$f"; done >> ../timestamps.sh
which yields
touch -t 202212061919.44 20221206_191944.jpg
And for filenames of type 'IMG-20220419-WA0005.jpg':
$ for f in *WA*; do t=$(echo "$f" | awk -F...
Blogger.de
mikeace
Unix-Tools
Copyright © 2023 mikeace
2023-02-26T16:49:19Z
-
"Fortschrittsbalken" bei dd
https://200ok.blogger.de/stories/2784563/
Hi, long time no see. :-)
Fortschritt bei diskimages mit dd beobachten?
Werner Fischer hat in seinem Beitrag ein paar interessante Möglichkeiten aufgezählt: https://www.thomas-krenn.com/de/wiki/ISO_Image_von_CD_oder_DVD_unter_Linux_erstellen
* mit pv (pipe viewer):
dd if=/dev/cdrom | pv --size 700M | dd of=test.iso
* mit der dd-option status=progress (seit GNU Coreutils v8.24)
* mit signal killall -USR1 aus einer anderen shell (für ältere Coreutils)
watch -n 4 killall -USR1...
Blogger.de
mikeace
Unix-Tools
Copyright © 2020 mikeace
2020-10-18T11:53:08Z
-
complete Backup of Jolla
https://200ok.blogger.de/stories/2463439/
The Jolla Phone has several interesting partitions:
/dev/mmcblk0p19 on /drm type ext4
/dev/mmcblk0p18 on /firmware type vfat
/dev/mmcblk0p25 on /persist type ext4
/dev/mmcblk0p9 on /var/systemlog type ext4
/dev/fuse on /home/nemo/android_storage type fuse
/dev/mmcblk0p28 on / type btrfs
/dev/mmcblk0p28 on /home type btrfs
btrfs has snapshot support, so we use it.
Then all filesystems are tared and zipped and ssh'ed to a backup-host as follows:
btrfs subvolume snapshot -r / /snapshots/root
btrfs...
Blogger.de
mikeace
Copyright © 2014 mikeace
2014-12-29T01:00:57Z
-
different colored calendars on Jolla
https://200ok.blogger.de/stories/2451471/
Jolla's native Calendar App already has two different colored calendars - I want more. Here is an instruction how to add more calendars: http://talk.maemo.org/showthread.php?t=92788
Blogger.de
mikeace
Jolla
Copyright © 2014 mikeace
2014-11-16T17:29:20Z
-
complete Backup of N900
https://200ok.blogger.de/stories/2450986/
The N900 has several storages. Each has to be saved in order to backup everything.
A good program to do that is the Backup Manager which does backup rootfs and optfs. It runs directly from the bootloader so the system to be backed up is not running.
unfortunately it doesn't back up everything. Contacts and installed programs are all there but it misses to backup the MyDocs directory!
So what is Backed up and what not again?
Let's excurse inte the different partitions which exist on a N900.
Device...
Blogger.de
mikeace
N900
Copyright © 2014 mikeace
2014-11-14T14:02:32Z
-
Synergy auf verschieden großen Monitoren
https://200ok.blogger.de/stories/2447869/
Hab mir heute synergy installiert und zur rechten meinen kleinen Laptop-hingestellt. Damit der Cursor beim Übergang nicht springt, kann man den Bereich des Übergangs in % der jweiligen Screen-Kante angeben:
section: screens
desktop:
laptop:
end
section: links
desktop:
right(50,100) = laptop
laptop:
left = desktop(50,100)
end
Blogger.de
mikeace
Netzwerk
Copyright © 2014 mikeace
2014-11-03T13:18:26Z
-
autostart jolla apps
https://200ok.blogger.de/stories/2450223/
Nach einem Reboot, alle standard-apps von hand neu zu starten ist lästig. Hier findet sich Abhilfe: https://together.jolla.com/question/404/autostart-applications/.
Mögliche Befehle für die Datei autostart-apps:
invoker -n -s --type=silica-qt5 /usr/bin/harbour-hungermeter
invoker -n -s --type=silica-qt5 /usr/bin/harbour-meecast
invoker -n -s --type=silica-qt5 /usr/bin/jolla-calendar
invoker -n -s --type=silica-qt5 /usr/bin/jolla-clock
invoker -n -s --type=silica-qt5 /usr/bin/jolla-settings
Blogger.de
mikeace
Jolla
Copyright © 2014 mikeace
2014-11-11T22:47:04Z
find
Search this site:
q
https://200ok.blogger.de/search