Jump to content

Unix/windows Related Question!


Recommended Posts

Posted

Evari kaina solution teliste cheppandi

Okka file(wav) okka server lo untundi say server 1 ( particularly inside a folder)
Is there any tool, which will copy this file and places the file in different servers in to the same folder.
those servers are n different location.

Posted

unix aithey scp command undhi ... you should have the user nadm and password on the other servers and the user should have write permissions

go to the current folder and let's say file is 1.wav
command
scp 1.wav <user>@ipadrressofotherserver:`pwd`/1.wav
neter password

Posted

can we copy the one file and paste it into the other X number of servers at a time?
is it possible

Posted

[quote name='Burberry' timestamp='1370474281' post='1303827272']
can we copy the one file and paste it into the other X number of servers at a time?
is it possible
[/quote]

not possible to my knowledge unles they have shared storage like cifs windows or nfs on unix. or have some sort of copy mechanism like rsync which constantly keeps the folders in sync.

Posted

Try this
scp file username@ip:destination username@ip2:destination

or else if we have private/ public keys are enabled , then it is possible i beleive

Posted

you can install tool like dropbox in all machines and the folders in that account will be in sync...so okka computer nundi aa shared folder lo edina copy chesthey it will get synced in all the other machines

Posted

[quote name='tyke' timestamp='1370489175' post='1303827761']
you can install tool like dropbox in all machines and the folders in that account will be in sync...so okka computer nundi aa shared folder lo edina copy chesthey it will get synced in all the other machines
[/quote]
[img]http://lh6.ggpht.com/-hRxP2e7xiLo/UWqsvKNzbNI/AAAAAAAAMMo/ioRVZyHiEbs/s150/Brahmi-17.gif[/img][img]http://lh6.ggpht.com/-hRxP2e7xiLo/UWqsvKNzbNI/AAAAAAAAMMo/ioRVZyHiEbs/s150/Brahmi-17.gif[/img]

Posted

[quote name='powerstar02' timestamp='1370489472' post='1303827766']
[img]http://lh6.ggpht.com/-hRxP2e7xiLo/UWqsvKNzbNI/AAAAAAAAMMo/ioRVZyHiEbs/s150/Brahmi-17.gif[/img][img]http://lh6.ggpht.com/-hRxP2e7xiLo/UWqsvKNzbNI/AAAAAAAAMMo/ioRVZyHiEbs/s150/Brahmi-17.gif[/img]
[/quote]
[img]http://www.nandamurifans.com/forum/uploads/gallery_8818_2_281352.gif[/img]

Posted

[quote name='Burberry' timestamp='1370474281' post='1303827272']
can we copy the one file and paste it into the other X number of servers at a time?
is it possible
[/quote]
Try this
create a file with list of servers, say servers.txt
create a script like this

serverfile='<path>/servers.txt'

while read line
do
scp $1 ${line}:$2
done
save this file as abccopy

and run the command as
abccopy <input file and/or location> <output location>

Posted

in case windows to unix/linux or vice a versa aithe use "WINSCP" tool. its free to download on your company PC and most companies allow that to use.

Posted

[quote name='myusaoffers' timestamp='1370490002' post='1303827787']
Try this
create a file with list of servers, say servers.txt
create a script like this

serverfile='<path>/servers.txt'

while read line
do
scp $1 ${line}:$2
done
save this file as abccopy

and run the command as
abccopy <input file and/or location> <output location>
[/quote]
while trying to connect multiple servers, it ask for password each and every time. in order to override that, make sure you have ssh keys configured for those servers

Posted

[quote name='Burberry' timestamp='1370474281' post='1303827272']
can we copy the one file and paste it into the other X number of servers at a time?
is it possible
[/quote]
yes possible

Posted

VMs and Windows itey , VMware tools install chesi untey , you can copy and paste to and from anywhere you want.

Linux/Unix - pina chaala mandi cheppinattu scp /winscp

Posted

[quote name='myusaoffers' timestamp='1370490002' post='1303827787']
Try this
create a file with list of servers, say servers.txt
create a script like this

serverfile='<path>/servers.txt'

while read line
do
scp $1 ${line}:$2
done
save this file as abccopy

and run the command as
abccopy <input file and/or location> <output location>
[/quote]

copy and paste automatic ga avvali
scripts kakunda vere method aithe better
admin will copy file into server1 using a tool, the rest of the process script kani prog kani cheyyali

×
×
  • Create New...