Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby delete file

File.delete(path_to_file) if File.exist?(path_to_file)
 
PREVIOUS NEXT
Tagged: #ruby #delete #file
ADD COMMENT
Topic
Name
7+4 =