Using the Linux command line, I use the scp command to copy up all the files and folders from a certain directory. However, I don't like to consume wasted bandwidth for copying up things I rarely change like my tiny_mce folder. What's the trick to copy up everything but skip a short list of folders?
|
|
||||
|
|
migrated from stackoverflow.com Jun 2 '11 at 0:55
|
|
|||||||
|
|
You could try rsync which only copies files that have changed, also works over ssh. |
|||
|
|
|
Using
...would copy everything in the source folder except for things matching the given pattern. Obviously you can get creative with that part. |
|||
|
|
|
Let's say, we have a directory "test" contain the directories "foo, bar, baz". In these dirs are a bunch of different file types:
We want to copy everything except the PNGs
In this example, the command will put all of the files into the same destination directory - this may not be the behavior you want. |
|||||
|
|
A great tool you may want to try out is "lftp".
You can also use RSync over ssh
Should work. |
|||
|
|
|
I just finished writing how I prefer unison to rsync any day, since it
|
|||
|
|
