Is it possible to transfer all files from one directory to another computer on a LAN using Grunt?
For instance, I would like to copy all files from my directory to \192.168.1.10\c$\Projects\TestFolder. How can I achieve this?
Thank you!
edit
I attempted to use the same settings for copying files within the same computer, and it worked successfully. However, when trying to copy to another computer, it failed. For example, the code below works for copying files within the same computer:
copy: {
dist: {
files: [
{
expand: true,
dot: true,
cwd: 'app',
dest: 'dest',
src: [
'*.html',
'views/{,*/}*.html'
]
}
]
}
}
But when trying the following code, it does not work for copying to another computer:
copy: {
dist: {
files: [
{
expand: true,
dot: true,
cwd: 'app',
dest: '\\192.168.1.10\c$\Projects\TestFolder',
src: [
'*.html',
'views/{,*/}*.html'
]
}
]
}
}