User Tools

Site Tools


useful:linux-commands

This is an old revision of the document!


Contents Page

Linux Commands

Change permissions for whole directory structure

For directories:

  find /desired_location -type d -print0 | xargs -0 chmod 0755
  

For files:

  find /desired_location -type f -print0 | xargs -0 chmod 0644

Adapt as required.

Delete all files with given pattern

Adapt as required

   ind . -name '*altauserpoints*' -print0 | xargs -0 -P0 rm
useful/linux-commands.1661442367.txt.gz · Last modified: 2022/08/25 15:46 by admin