Re: Fwd: Btrfs compression

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adam Jackson wrote:
> find / -xdev -type f | while read i; do
>     cp $i /tmp/tmp
>     rm $i
>     mv /tmp/tmp $i
> done

I presume that cp should be cp -p? And I guess it would be better to do a mv 
-f rather than rm + mv, otherwise you're going to have trouble when you hit 
/bin/mv. :-) And of course this needs to run as root.

> Obviously, don't actually run that.

Well, are there any other caveats than the ones I listed above?

        Kevin Kofler

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux