Searched refs:dest_dir (Results 1 – 5 of 5) sorted by relevance
28 $dest_dir = "$file_path/rename_variation1_dir";29 // create the $dest_dir30 mkdir($dest_dir);33 /* loop through each $src_dirs and rename it to $dest_dir */40 var_dump( rename($src_dir, $dest_dir."/new_dir") );43 var_dump( file_exists($dest_dir."/new_dir") ); // expecting true46 rmdir($dest_dir."/new_dir");
14 $dest_dir = "$file_path/rename_variation3_dir";15 // create the $dest_dir16 mkdir($dest_dir);34 var_dump( rename($dest_linkname, $dest_dir."/rename_variation3_hard_link2.tmp") );37 var_dump( file_exists($dest_dir."/rename_variation3_hard_link2.tmp") ); // expecting true40 unlink($dest_dir."/rename_variation3_hard_link2.tmp");
33 $dest_dir = "$file_path/rename_variation_dir";35 // create the $dest_dir36 mkdir($dest_dir);40 /* loop through each $src_dirs and rename it to $dest_dir */47 var_dump( rename($src_dir, $dest_dir."/new_dir") );50 var_dump( file_exists($dest_dir."/new_dir") ); // expecting true53 rmdir($dest_dir."/new_dir");
14 $dest_dir = "$file_path/rename_variation2_dir";15 // create the $dest_dir16 mkdir($dest_dir);38 var_dump( rename($dest_linkname, $dest_dir."/rename_variation2_soft_link2.tmp"));42 var_dump( file_exists($dest_dir."/rename_variation2_soft_link2.tmp") ); // expecting true45 unlink($dest_dir."/rename_variation2_soft_link2.tmp");
132 function copy_file_list($source_dir, $dest_dir, $list) argument144 echo "Copying $item from $source_dir to $dest_dir\n";145 copy($source_dir . DIRECTORY_SEPARATOR . $item, $dest_dir . DIRECTORY_SEPARATOR . $item);170 function extract_file_from_tarball($pkg, $filename, $dest_dir) /* {{{ */ argument175 $tarball = $dest_dir . "/" . $name . '.tgz';177 $destfilename = $dest_dir . "/" . basename($filename);
Completed in 13 milliseconds