I want to move multiple files from source directory to destination directory.
I tried with multiple package but its moving the folder itself. but i would like to move one the files contain in the source directory into destination directory.
mv('/opt/output/', '/opt/sentFiles' ,function(err) {
var destination = path.join( '/opt/sentFiles',files[i])
});
I tried for child_process then mv package. mv package is working but. its move source folder itself to destination folder. actually i want to move files from source folder exp output/* sentfile/*