|
From: | Tiago Almeida |
Subject: | check directories and files with wildcard names |
Date: | Wed, 20 May 2015 17:11:05 +0100 |
Hi,is there anyway i could check the user owner for wildcard name directories our files ?From what i've read so far this can be only done one by one.Ex:check directory DIR path /path/to/dir/*/uploadsif failed uid USER then exec "/bin/bash -c 'chown -R USER. /path/to/dir/*/uploads'"Regards
[Prev in Thread] | Current Thread | [Next in Thread] |