It's full of stars!

  • All Content
  • About

macos

Technology

Solution for npm install fails with node-gyp error: memory file not found

Short version: Delete Xcode command line tools and reinstall them. Scenario Problem: For a NPM package the dependencies should be installed. NPM install command is run and suddenly fails with an error caused by node-gyp. Command: npm install Output: Error message: Fatal error: ‘memory’ file not found Result: npm install Read more…

By Tobias Hofmann, 7 monthsOctober 21, 2024 ago
Technology

Mount a remote directory via SSH on MacOS (SSHFS)

Mounting a remote directory is a very common use case. A file server provides a central place to store documents, and users can use these like a normal local folder on their laptop. Sometimes the file server is only available via SSH access. In that case, you cannot mount a Read more…

By Tobias Hofmann, 3 yearsMarch 10, 2022 ago
REST

Remove last n characters of file in MacOs

With MacOS and finder you can easily substitute characters of files using the rename functionality. Just select 2 or more files, right click, and inform the character you want to substitute, like _ with space. To remove the last N characters from a file that looks like Text-2018221112.mp4 to Text Read more…

By Tobias Hofmann, 6 yearsNovember 30, 2018 ago
Technology

How to use find to sort files across folders

Short version You have files named File0.txt to File100.txt in different folders and want to move the first 30 files in a separate directory (command for Mac users. Linux users can use find and mv): For sorting FileNN.txt (character + number) gfind -type f -printf “%f %p\n” | sort -n Read more…

By Tobias Hofmann, 7 yearsJuly 25, 2018 ago
  • Datenschutzerklärung
  • Impressum
  • Cookie-Erklärung
Hestia | Developed by ThemeIsle