copy folder properties

Asked by Hieronymus

Hello

I want to copy the properties of one folder on to all the others (recursive).
Is that possible or do I have to insert the size tab and set the tab width manually for every folder? (lots of work)

li(e)bertäre Grüsse
  Hieronymus

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu evolution Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

if you use

ls -la <folder>

this will give you an output like this:

drwxr-x--- 18 andy andy 4096 2009-07-16 09:52 Music

the first character (d) shows it is a directory. If you split the rest into 3 groups

rwx r-x ---

You can convet them from binary to decimal

111 101 000
 7 5 0

You now have the access right of the folder, in this case its 750

You can now apply this to the folder and its subfolders and files using:

sudo chmod -R 750 <folder to change>

This will recursively (-R) set 750 access to the entire folder changing folders and files

Revision history for this message
Hieronymus (hieronymusch) said :
#2

Thank you for your answer. But I'm not talking about the linux folder properties.
I want to copy the tabs and their width from on folder to all the others without setting them manually for every folder.

Revision history for this message
Larry Jordan (larryjor) said :
#3

    This just SOUNDS fascinating. Are you talking about something under preferences in Nautilus? There isn't much info about it in the "man" page if that's the case. Whatever the case, Linux is supposed to be popular because it is so powerful (I believe it is, just saying...)
     Can you provide more information on how you made changes to folder appearances and in what application, please. Would love to help, although it will be a learning process for me as well.

Revision history for this message
Larry Jordan (larryjor) said :
#4

    Probably should have done that as "Add Information Request"....

Revision history for this message
Sam_ (and-sam) said :
#5

Hieronymus,
since you assigned to 'evolution package' are you talking about evolution
http://library.gnome.org/users/evolution/stable/ui-intro.html.en
or about a file manager?
e.g.
Nautilus?
http://library.gnome.org/users/user-guide/stable/nautilus-presentation.html.en

You likely mean preferences not properties.
Do you mean analog to M$_windows_explorer view config, where it says something like 'make that all folders look like this one'?

Maybe you'd like to upload a screenshot in order to better understand what you mean.

Nautilus example of tree (left side pane) and list view (right side window).
Lets say folder 'documents' contents five other folders.
A click on 'documents' in tree list would show five folders on the right hand window.
Arrange columns, width or whatever, then click on update in the main menu.
This should make the view stable for all current contents.

Sorry, no idea about 'evolution' since I don't use it.
But anyway I hope there will be a better answer than mine.

Revision history for this message
Sam_ (and-sam) said :
#6

just testing if 'information request' works.

Revision history for this message
Sam_ (and-sam) said :
#7

Can you help with this problem?

Provide an answer of your own, or ask Hieronymus for more information if necessary.

To post a message you must log in.