Solved chown --from=

I've noticed that there is no --from= switch on the FreeBSD chown command.

Can someone be nice enough to suggest a way to accomplish this another way?

I'd like to change all the files, recursively, in a directory from Bob:Smith to Phil:Edwards but I want to skip the files that belong to Stan:Heinz.

In Fedora I run chown -R -v --from=Bob:Smith Phil:Edwards /usr/local/NetworkStorage/*

How can I filter all the Bob:Smith files so that I only act on them in FreeBSD?

I imagine something like this:

commandIdontknow switch=Bob:Smith | chown Phil:Edwards



Jeff
 
Back
Top