LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-21-2005, 06:47 PM   #1
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
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

Last edited by utanja; 02-21-2005 at 06:48 PM.
 
Old 02-21-2005, 06:55 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Code:
chown -rV <newgroup>:<newowner> files
Cheers,

mj

Last edited by mjrich; 02-21-2005 at 06:56 PM.
 
Old 02-21-2005, 07:05 PM   #3
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Original Poster
Rep: Reputation: 32
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...
 
Old 02-21-2005, 07:10 PM   #4
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Changing extension of multiple files harisund Programming 17 06-01-2006 11:59 AM
changing permissions and ownership on many files and folders Cinematography Linux - General 4 08-01-2005 04:20 AM
changing extension of multiple files shaggystyle Linux - General 5 01-29-2004 01:35 PM
unable to modify ownership or group as root bubblehead Linux - Newbie 0 11-24-2003 10:15 PM
changing users and group ownership dkc_ace Linux - General 4 02-03-2003 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:18 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