X7ROOT File Manager
Current Path:
/opt/alt/ruby18/share/ri/1.8/system/FileUtils
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
FileUtils
/
ðŸ“
..
ðŸ“
DryRun
ðŸ“
Entry_
ðŸ“
NoWrite
ðŸ“
StreamUtils_
ðŸ“
Verbose
📄
cd-i.yaml
(640 B)
📄
cdesc-FileUtils.yaml
(6.06 KB)
📄
chdir-i.yaml
(236 B)
📄
chmod-i.yaml
(598 B)
📄
chmod_R-i.yaml
(504 B)
📄
chown-i.yaml
(756 B)
📄
chown_R-i.yaml
(765 B)
📄
cmp-i.yaml
(229 B)
📄
collect_method-c.yaml
(458 B)
📄
commands-c.yaml
(421 B)
📄
compare_file-i.yaml
(553 B)
📄
compare_stream-i.yaml
(307 B)
📄
copy-i.yaml
(240 B)
📄
copy_entry-i.yaml
(1.04 KB)
📄
copy_file-i.yaml
(373 B)
📄
copy_stream-i.yaml
(356 B)
📄
cp-i.yaml
(884 B)
📄
cp_r-i.yaml
(1.29 KB)
📄
fu_have_symlink%3f-i.yaml
(188 B)
📄
fu_world_writable%3f-i.yaml
(195 B)
📄
getwd-i.yaml
(220 B)
📄
have_option%3f-c.yaml
(506 B)
📄
identical%3f-i.yaml
(243 B)
📄
install-i.yaml
(747 B)
📄
link-i.yaml
(240 B)
📄
ln-i.yaml
(1.23 KB)
📄
ln_s-i.yaml
(1.32 KB)
📄
ln_sf-i.yaml
(364 B)
📄
makedirs-i.yaml
(248 B)
📄
mkdir-i.yaml
(539 B)
📄
mkdir_p-i.yaml
(836 B)
📄
mkpath-i.yaml
(244 B)
📄
move-i.yaml
(240 B)
📄
mv-i.yaml
(787 B)
📄
options-c.yaml
(414 B)
📄
options_of-c.yaml
(415 B)
📄
pwd-i.yaml
(337 B)
📄
remove-i.yaml
(239 B)
📄
remove_dir-i.yaml
(356 B)
📄
remove_entry-i.yaml
(482 B)
📄
remove_entry_secure-i.yaml
(1.88 KB)
📄
remove_file-i.yaml
(325 B)
📄
rm-i.yaml
(659 B)
📄
rm_f-i.yaml
(414 B)
📄
rm_r-i.yaml
(1.18 KB)
📄
rm_rf-i.yaml
(546 B)
📄
rmdir-i.yaml
(557 B)
📄
rmtree-i.yaml
(242 B)
📄
safe_unlink-i.yaml
(251 B)
📄
symlink-i.yaml
(248 B)
📄
touch-i.yaml
(531 B)
📄
uptodate%3f-i.yaml
(538 B)
Editing: rm_r-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: force noop verbose secure" - !ruby/struct:SM::Flow::P body: remove files <tt>list</tt>[0] <tt>list</tt>[1]... If <tt>list</tt>[n] is a directory, removes its all contents recursively. This method ignores StandardError when :force option is set. - !ruby/struct:SM::Flow::VERB body: " FileUtils.rm_r Dir.glob('/tmp/*')\n FileUtils.rm_r '/', :force => true # :-)\n" - !ruby/struct:SM::Flow::P body: "WARNING: This method causes local vulnerability if one of parent directories or removing directory tree are world writable (including /tmp, whose permission is 1777), and the current process has strong privilege such as Unix super user (root), and the system has symbolic link. For secure removing, read the documentation of #remove_entry_secure carefully, and set :secure option to true. Default is :secure=>false." - !ruby/struct:SM::Flow::P body: "NOTE: This method calls #remove_entry_secure if :secure option is set. See also #remove_entry_secure." full_name: FileUtils#rm_r is_singleton: false name: rm_r params: (list, options = {}) visibility: public
Upload File
Create Folder