Replace /x/path with the value of X and
/y/path with value of Y ---------- Post updated at 06:08 AM ---------- Previous update was at 06:07 AM ----------
Here I have used cp to copy the file.
If you want to move, you could use 'mv' instead of 'cp'
These 2 Users Gave Thanks to SriniShoo For This Post:
i want to run some solaris executable program (text file). i telnet to solaris machine. the text file is on the net drive h: or my local drive on windows system.
how can i copy the text file from local drive in windows to remote machine in solaris system?
thanks. (4 Replies)
I have two drives (scsi) mounted on one server and I need to copy certain files and directories from one drive to the other. Any suggestions :confused: (4 Replies)
hello! is there a way for me to use the chmod command to change permissions for several files all at once -based on the fact that these files were all most recently modified TODAY ?
I can't use a wildcard on their filenames because the filenames are varied. But I was hoping I could somehow do... (2 Replies)
I have been toying around with a script that will copy all files altered in a development directory over to a testing directory and have been trying to construct the command to meet my needs.
Basically I am using find in a directory to see what files have changed over the past 24 hours. Then if... (4 Replies)
I have three files a.txt , b.txt , c.txt in a directory called my_dir1 .These files were created before two or three months . I have a tar file called my_tar1.tar which contains three files a.txt , b.txt , d.txt . Somebody untarred the my_tar1.tar into my_dir1 directory. So existing two files were... (1 Reply)
Hi,
I have a requirement to copy the files from C drive on Windows to UNIX, once the files are copied I need to delete them from that drive (C:).
A drive is also on same network as my unix, so I was asked to use RCP for copying the files. Can any one have the syntax to copy the files from... (0 Replies)
Hi
I have the following files
A320_ZONAL_v24_-_AMM_Suffix_jess_2011-05-31.xls Jun 10 17:21
A320_ZONAL_v24_-_AMM_Suffix_jess_.xls Nov 10 17:21
A320_ZONAL_v24_-_AMM_Suffix_jess_2011-03-31.xls Nov 23 20:21
And I need only the more recent one using UNIX timestamp... (2 Replies)
My code is this, what I'm trying to accomplish is to make a list of all pdf documents in my computer and then copy all of those documents to my external hard drive in a directory
mkdir /Volumes/Hardrive-1/allpdf
echo "File Locations" > /Volumes/Hardrive-1/allpdf/FileLocations.txt
mdfind pdf... (2 Replies)
Hello,
I am attempting to find and copy the two most recently added files to a specific directory, that fit a specific format.
I was able to find the command to list the two most recently added files in directory: ls -1t | head -n 2 The command lists the two files names in a vertical list,... (11 Replies)
To copy the file from windows to linux i use pscp command(pscp source user@destination). Know i want to copy the latest modified or created files from windows to linux. could any one please help me out with it.
Thanks and Regards,
Sourabh (2 Replies)
Discussion started by: SourabhChavan
2 Replies
LEARN ABOUT PHP
cairo_append_path
CAIRO_APPEND_PATH(3) 1 CAIRO_APPEND_PATH(3)CairoContext::appendPath - Appends a path to current path
Object oriented style (method):
SYNOPSIS
public void CairoContext::appendPath (CairoPath $path)
DESCRIPTION
Procedural style:
void cairo_append_path (CairoContext $context, CairoPath $path)
Appends the $path onto the current path. The $path may be either the return value from one of CairoContext::copyPath or CairoCon-
text::copyPathFlat;
if $path is not a valid CairoPath instance a CairoException will be thrown
PARAMETERS
o $context
- CairoContext object
o $path
- CairoPath object
RETURN VALUES
No value is returned.
EXAMPLES
Example #1
Object oriented style
<?php
$surface = new CairoImageSurface(CairoFormat::ARGB32, 50, 50);
$context = new CairoContext($surface);
$path = $context->copyPath();
$context->appendPath($path);
?>
Example #2
Procedural style
<?php
$surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, 50, 50);
$context = cairo_create($surface);
$path = cairo_copy_path($context);
cairo_append_path($context, $path);
?>
SEE ALSO
CairoPath, CairoContext::copyPath, CairoContext::copyPathFlat.
PHP Documentation Group CAIRO_APPEND_PATH(3)