+64-3-3595735

Category Archives: Linux

Recursive Actions On Folders using BASH in Linux

Previously I posted how to reset file permissions recursively using Linux Bash / Command Line. Building on that is how to recursively remove files and folders using bash on a Linux box. find . -type d -name ‘folder_*_name’ -exec rm -r {} + Using find to find a folder (-type d) or a file (-type […]

Reset permissions for files and folders in Linux / Bash

Three simple command lines to sort out folder and file permission and ownership issues in Linux. The reason for using two different commends for the files and folders is you don’t want executable bit set on files (unless you plan on running it) and folders don’t work well without it. To change all the directories […]

TbR ZDjzpSRx VzUDTrLqjdaIpLbi j