Searched refs:dest_dir (Results 1 – 5 of 5) sorted by relevance
28 $dest_dir = "$file_path/rename_variation_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_variation_dir";15 // create the $dest_dir16 mkdir($dest_dir);34 var_dump( rename($dest_linkname, $dest_dir."/rename_variation_hard_link2.tmp") );37 var_dump( file_exists($dest_dir."/rename_variation_hard_link2.tmp") ); // expecting true40 unlink($dest_dir."/rename_variation_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_variation_dir";15 // create the $dest_dir16 mkdir($dest_dir);38 var_dump( rename($dest_linkname, $dest_dir."/rename_variation_soft_link2.tmp"));42 var_dump( file_exists($dest_dir."/rename_variation_soft_link2.tmp") ); // expecting true45 unlink($dest_dir."/rename_variation_soft_link2.tmp");
115 function copy_file_list($source_dir, $dest_dir, $list) argument127 echo "Copying $item from $source_dir to $dest_dir\n";128 copy($source_dir . DIRECTORY_SEPARATOR . $item, $dest_dir . DIRECTORY_SEPARATOR . $item);153 function extract_file_from_tarball($pkg, $filename, $dest_dir) /* {{{ */ argument158 $tarball = $dest_dir . "/" . $name . '.tgz';160 $destfilename = $dest_dir . "/" . basename($filename);
Completed in 8 milliseconds