Rename
Install rename tool: To batch rename files in a dir, changing the extension: this example, renames all extensions from jpg_160x120 to jpg
very very slowly
Install rename tool: To batch rename files in a dir, changing the extension: this example, renames all extensions from jpg_160x120 to jpg
This is very stupid, but it does work 😎😎😎 Edit docker-compose.yml file in Immich directory, adding the green line: The green line MUST be added between purple lines! YES it is that stupid, it’s a path to pictures, repeated twice with : sign in between 💩💩💩 Restart Immich: Now you’ll be able to add this … Read moreAdd External Library in Immich
To check available and used space on a disk: Outputs used space on current disk in a human readable format. To check just current directory size: Directory used space, but omitting output for all subdirectories: Available space on all disks:
Edit config: Usual default config: Change to: 1.1.1.1 & 8.8.8.8 are Cloudflare and Google’s free public DNS servers, you can add your own dns server beside these. Restart network service for changes to take effect:
Login as root on your server (not VM) List all disk physical disks IDs: Add the disk to VM: 101 is the id of VM (usually 100 is the first VM), scsi3 is the first available hard disk ID in your VM (usually scsi0 is the first disk in VM) and ata-WDC_xxxxxxxxxxxxx is the disk … Read moreHow to passthrough Physical disks to VM in Proxmox
NFS Server Install NFS server: Display current NFS shares on server: Edit server NFS configuration: Share example: Read only access to entire subnet: Read & write access to entire subnet: Export “NFS table” (this is necessary after NFS edit) : Restarts NFS to apply changes: NFS Client Install NFS client: Share mounting examples: terminal: fstab:
Edit fstab: Mount disk: Different partitions types: ext4, ext2, ext3, reiserfs, xfs, jfs, smbfs, iso9660, vfat, ntfs, swap, auto Mount nfs share: Mount samba share: share.name NOT dir.name! “Reloads” fstab for changes to take effect:
Username must be unique! This command performs: Edits /etc/passwd /etc/shadow /etc/group and /etc/gshadow files for the newly created user Creates and populates a home directory for the new user Sets permissions and ownerships of the home directory After the new user is created, you should make a password for that user:
Most commonly used List command is: Example output: d rw-rw-r– 1 piroman piroman 65379 oct 12 11:11 z9a6t8j0qis51.jpg type permissions link count owner group size date time name LS options/switches: ls -a list all files including hidden file starting with ‘.’ ls –color colored list [=always/never/auto] ls -d list directories – with ‘ */’ ls … Read moreLS (List) command
In the end it was: Ubuntu, Pop OS and Garuda. I’ve tested many distributions and was using Ubuntu for about 2 years. I just got bored, I had no real complaints, so it was a time for a new distro. I really liked the looks of Deepin but it was almost useless. Garuda was a … Read moreHow & Why