LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2011, 05:07 PM   #1
cookiedough
LQ Newbie
 
Registered: Apr 2011
Posts: 3

Rep: Reputation: 0
chmod - need help with options capital D and capital F..


I am trying out Rsync and saw an example of a Rsync command that contains the following:

--chmod=g+w,Da+rX,Fa+r


I researched online but didn't have any luck finding out what "D" and "F" are..

Any help will be much appreciated! Thanks in advance!
 
Old 04-04-2011, 05:33 PM   #2
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Sorry, no such options/arguments in chmod as cap D and cap F...

man chmod(1)

man chmod(2)
 
Old 04-04-2011, 06:05 PM   #3
cookiedough
LQ Newbie
 
Registered: Apr 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by vtel57 View Post
Sorry, no such options/arguments in chmod as cap D and cap F...

man chmod(1)

man chmod(2)
Thanks vtel57! That's what I thought too...I am not sure if "D" and "F" are Rsync related only then..

If you look at this post: http://www.lightcubesolutions.com/blog/?p=104. In the first code block (which I pasted below) in the arg line, it uses "D" and "F" in the chmod command..

<target name="rsync_remotehost" >
<exec executable="rsync" dir="${cfg.someDir}">
<arg line="-aOvz --chmod=g+w,Da+rX,Fa+r,F-X --exclude .svn . \
${rsync.user}@${rsync.server}:${rsync.dir}" />
</exec>
</target>
 
Old 04-04-2011, 06:19 PM   #4
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
The author is modifying his build.xml file in that snippet. What you see there is XML coding, not proper chmod (Linux command) syntax, I think.
 
Old 04-04-2011, 08:07 PM   #5
cookiedough
LQ Newbie
 
Registered: Apr 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by vtel57 View Post
The author is modifying his build.xml file in that snippet. What you see there is XML coding, not proper chmod (Linux command) syntax, I think.
I found it! Here: http://linux.die.net/man/1/rsync

"D" - directory
"F" - file

Thanks a lot for the help!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
capital letters on Fat32 Four Programming 2 07-21-2008 09:38 PM
The Capital City of Malaysia kylee LinuxQuestions.org Member Intro 1 01-15-2006 08:33 AM
How to preserve capital letters? kosa Linux - General 1 07-14-2005 01:44 PM
Capital i shows up as [ {O_o} Linux - Newbie 0 10-06-2004 08:33 PM
capital letters at the console alim Slackware 5 04-25-2002 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration