LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   changing ownership and group of multiple files.. (https://www.linuxquestions.org/questions/debian-26/changing-ownership-and-group-of-multiple-files-293171/)

utanja 02-21-2005 05:47 PM

changing ownership and group of multiple files..
 
i have serveral folders owned by one user who not longer is active fot the folders and content files are important to me.....i would like to permanently chang eonwership and groups for these.....
it is possible to chown multiple folders and files as one command..?

utanja

mjrich 02-21-2005 05:55 PM

Code:

chown -rV <newgroup>:<newowner> files
Cheers,

mj

utanja 02-21-2005 06:05 PM

Quote:

Originally posted by mjrich
Code:

chown -rV <newgroup>:<newowner> files
Cheers,

mj

thank you so much.....i knew it could be done but had the newgroup newowners reversed...

i have three folders of over 500 files to change and dread the idea of doing in manually...

again thank you so much....worked perfectly...:) :) :) :) :)

mjrich 02-21-2005 06:10 PM

No worries :)

(The thought of doing anything on a computer manually just seems crazy anyway - they were pretty much designed for automating simple tasks !)

Cheers,

mj


All times are GMT -5. The time now is 07:28 AM.