Sponsored Content
Top Forums Shell Programming and Scripting [Solved] apply 755 mode recursively Post 302546804 by k_manimuthu on Friday 12th of August 2011 08:09:06 AM
Old 08-12-2011
[Solved] apply 755 mode recursively

I have folders like as below format. I need to apply the 755 mode for '.sh' format only. I am using the below command to apply the changes. But it's affecting first level only. How to apply the changes recursively in .sh file only?

Please suggest the command.
Thanks

Code:
 
chmod 755 -R *.sh

Code:
 
root_folder/A/
 one.sh
 one.txt
 
root_folder/A/A1
 one.sh
 one.txt
 
root_folder/A/A1/A2
 one.sh
 one.txt

 

9 More Discussions You Might Find Interesting

1. AIX

dir 755 files 754

how to give permission in single command for .. All the sub-directories have to become permission 755 and files must be 754... do we have any option in chown .. or we have write script. any ideas please ... (2 Replies)
Discussion started by: govindarajan
2 Replies

2. Homework & Coursework Questions

changing permissions of a file whos name was passed to 755

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Write a shell script that gives a passed file the "755" access permissions. The shell script should: Change... (0 Replies)
Discussion started by: anix007
0 Replies

3. Homework & Coursework Questions

changing permissions of a file whos name was passed to 755

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Write a shell script that gives a passed file the "755" access permissions. The shell script should: Change... (5 Replies)
Discussion started by: anix007
5 Replies

4. Shell Programming and Scripting

sed : regular expression (hungry mode ?) solved

Hi there is something I don't understand with the repeated element. With the following command I have a weird output: :confused: while I thought the output would be I really don't understand why 2 "a" are skipped. Might someone explain please? (5 Replies)
Discussion started by: xib.be
5 Replies

5. Solaris

[Solved] How to change my default login mode????

Hi guys, I have just installed Solaris 10 x86. My system boots into graphical login by default, I want to have text login only, where can I change that. I tried to use the linux and bsd concept of editing /etc/inittab, and change the default value to 3, but that doesn't work in Solaris. Please... (6 Replies)
Discussion started by: gabam
6 Replies

6. Fedora

[SOLVED] How to be the ROOT through GUI mode in fedora 15

Whenevr i am trying to access ROOT file in Fedora 15 by double clicking, its showing I dont have enough permission to access it and its not showing the inside access... How to solve it?? (4 Replies)
Discussion started by: amisubha
4 Replies

7. Solaris

DNS service is in maintenance mode. How to bring it back to online mode?

:confused: when i tried to look the status of DNS-client, it is in maintenance mode..... Please tell me how to bring it back to online mode...PLEASE TELL ME STEP BY STEP.... PLEASE... :wall: (2 Replies)
Discussion started by: vamshigvk475
2 Replies

8. Solaris

[Solved] Can't get into single user mode - sulogin was disabled

Solaris 10 trying to patch and therefore want to do this from single user mode I do a init 0 get's me to ok> :) ok> boot -s I was a UK Sun Field Engineer for 10 years ..... I've used "boot -s " quite a bit ..... I get a console login , which I subsequently login into #who... (13 Replies)
Discussion started by: Martincorneuk
13 Replies

9. Red Hat

[Solved] Redhat system is not booting in GUI mode

Hi Guys Required help in Redhat 6.1. After installation of Redhat 6.1 in VMware system is not going in GUI mode. please to solve the issue... Thanks... (5 Replies)
Discussion started by: deviltech
5 Replies
apertium-tagger-apply-new-rules(1)										apertium-tagger-apply-new-rules(1)

NAME
apertium-tagger-apply-new-rules - This application is part of ( apertium ) This tool is part of the apertium open-source machine translation toolbox: http://www.apertium.org. SYNOPSIS
apertium-tagger-apply-new-rules --filein [ <input file> ] --fileout [ <output file> ] --tsxfile [ <rule file> ] DESCRIPTION
apertium-tagger-apply-new-rules is used to forbid and enforce rules which are applied to the given HMM parameters. Note that the TSX file provided with --tsxfile *must* be equal, in terms of label definitions, to the one used when training the HMM param- eters that are to be modified. OPTIONS
-i, --filein Specify the file with the HMM parameter to process -o, --fileout To specify the file to which the HMM will be written -x, --tsxfile File containing the rules to apply SEE ALSO
apertium-tagger(1), apertium(1). BUGS
Lots of...lurking in the dark and waiting for you! AUTHOR
Copyright (c) 2005 -- 2007, Universitat d'Alacant / Universidad de Alicante. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. 2007-03-24 apertium-tagger-apply-new-rules(1)
All times are GMT -4. The time now is 02:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy