Search Results

Search: Posts Made By: lokachari
12,230
Posted By lokachari
Regarding shell scripts to executables
Hi,

I have written a shell script for automating some of our repetitive activities. I want all my colleagues to use my script and do the activities automatically by just running the script.
...
6,366
Posted By lokachari
Unable to catch errors into file
I run the below command

(find <dir> -type d | xargs -n 100 chmod 755) |tee -a logfile 2>&1

But it was not able to search in one of the directories...and it printed it on screen saying
find:...
6,366
Posted By lokachari
Thanks... this worked
Porter,

Thanks for your help. This worked... now it is faster.... Can we add chainging directories also to 755 in the same command or do we need to execute seperately one more command for...
6,366
Posted By lokachari
Required help in chmod command
I have files inside the some directories. The no. of files in each directory will vary from 1 to 500K. I need to change the permissions of all the files to 400 mode. When the files are large in...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 02:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy