erol.name
  • Linux
  • Windows
  • Retro gaming
  • C64
  • Mobile
  • Raspberry Pi

erol.name

Tag: folders

Posted on 12. 02. 202412. 02. 2024

Change permissions recursively to 775/664 for directories/files

I somehow always seem to forget how to do this the simple way:

chmod -R ug+rw /yourfolder

This will change yourfolder permissions to 775 and all folders inside recursively to 775, but all files in the folder(s) will be set to 664.

Posted on 15. 05. 201618. 04. 2017

Compare contents of two directories in bash

It’s always good when you are looking for a way to do a task and you find great one-liner that just does the job right:

diff -rq directory1/ directory2

Switches “r” and “q” will recursively compare the two directories and showing brief output. Continue reading “Compare contents of two directories in bash”

Recent Posts

  • Install mc (midnight commander) on Valve Steam Deck
  • Zip individual files by extension in separate zip file with the same filename and zip extension
  • Libretro vs MAME romset mapping
  • Sort du output by folder size
  • Mount Nextcloud as drive in Windows WebDAV

Recent Comments

  • simone on Manually add files and folders to ownCloud
  • erol on How to additionally clean-up Kodi MySQL database from unwanted entries
  • John on How to additionally clean-up Kodi MySQL database from unwanted entries
  • jackd on Switch axis in pifba retropie emulator configuration
  • polv on Select and hide unmounted drive icons from Xfce desktop

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2007-2024 by Erol Tahirović