copy

Mac Dock folder tip - How to move a folder to the Mac Dock

Mac Dock FAQ: How do I move a commonly used Mac folder to the Dock so I can access it easier?

When you first buy a Mac, the right side of the Dock (the right side of the highway stripe on the Mac Dock) will have just the basic items on it, such as the Applications and Downloads folders. What a lot of people don't know is that you can put links (shortcuts) to your own folders there as well. In fact, this is a great place to put shortcuts to your most commonly used Mac folders.

How to copy files on Mac OS X

Mac "file copy" FAQ: How do I copy files on my Mac?

When people move from Windows to Mac OS X, a common question is "How do I copy files on my Mac?" I hope this short Mac file copying tutorial will help answer that question.

Java file copy - how to copy a file in Java

The easiest way to copy a file in Java is to download the Apache Commons IO library; just download their library, then use the methods of their FileUtils class to copy a file.

However, if you're just as interested in the technical details of how to copy a file in Java, or just want a method to copy a file in Java, the method below, taken from my Java file utilities class, shows how this actually works:

Java file open, read, and write utilities

Java file utilities FAQ: Do you have any Java file utilities you can share?

As I was working on another Java/Swing application this weekend, I ran across my "Java file utilities" class, and I thought I'd share that class here today. It's nothing too major, but it does include Java methods that let you open, read, write, and copy files using Java.

Perl array copy example - How to copy an array in Perl

Perl array copying FAQ: Can you share some examples of how to copy a Perl array?

Copying a Perl array is actually so simple it seems like a trick question, but unfortunately it's one of those things that is only easy once you know how to do it. (Personally I find the syntax a little non-standard.)

A Perl copy array example

To copy a Perl array named @array1 to a Perl array named @array2, just use this syntax:

Perl file move - How to move a file using Perl

Perl move file FAQ: How do I move a file in Perl?

Surprisingly, you can move a file in Perl with the File::Copy module. Yes, the Perl file copy module also handles file moving.

A Perl file move example

Here's a quick example:

Java clipboard - how to get an image off the clipboard

Java clipboard FAQ: How do I get an image off the clipboard using Java?

I guess timing is everything ... I just received this Java clipboard question as I am working on a Java Swing application that does a lot of graphics and image work, so I have a little source code here I can share.

vim copy and paste commands

vim copy and paste FAQ: How do I copy and paste in vim (the vi or vim editor)?

In this short vi/vim tutorial I thought I'd share the most common vim copy and paste commands I use on a daily basis. I've been using vi (and vim) for almost 20 years now (wow), and these are the most common copy/paste commands I use.

Linux cp command man page

This page shows the contents of the Linux cp comamnd man page. This cp command output was created on a CentOS Linux system.

You can see this same cp command man page output by entering this command on your own Linux system:

Linux scp command man page

This page shows the contents of the Linux scp command man page. The scp command is used to perform a "secure" copy of one or more files between two Linux or Unix systems.

This scp command output was created on a CentOS Linux system. You can see this same scp command man page output by entering this command on your own Linux system:

Syndicate content