Hi,
I need to ftp some input files from windows to unix server.All the files will be saved in the C drive in my machine.
Currently all these files are transferring manually to the unix server.I need to write a shell script which ftp the files
from windows to unix box.When I searched in the... (10 Replies)
Hello, I already do some question about this topic. I already establish the conection from the server (Centus) whit the windows PC using SSH. Now I have two problems:
1- The server always ask me about a password to copy the files to the windows pc, I don't know how to avoid this, if someone can... (2 Replies)
Hi experts,
can anyone suggest me on the below:
how to write a shell script to search and delete files on windows server.
-script runs on unix box
-it should search for specific files on windows server and delete them periodically. (2 Replies)
Need Shell Script to copy files from hp unix to windows server 2008
I tried to google and found some options but nothing worked
I want a script to copy a file in unix to windows server so I can schedule the script on daily basis.Please help me its more needful for me.
Let me know if any... (4 Replies)
Hi All,
I am generating report in a Linux server and once the report is generated the report(.txt file) needs to be automatically saved in a Windows servers.
So i am looking for a script to transfer the file automatically from Linux server to Windows server?
Please advise.
Thanks... (3 Replies)
Hello,
I need to create a shell script which will copy files - which are created on particular date and starting with particular name - to local windows XP machine.
Is this possible.?
Currently it is being done manually using winscp (1 Reply)
hi guys,
i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not
and again i have to reverse sftp the files from unix to windows server.....
regards,
Vasa Saikumar. (13 Replies)
I need to transfer files from a Windows server to the Unix server and have to run some shell script on it to get the required output.
Is it possible to transfer files from Windows server to unix server through any shell script?
If so can you please help me with the details.
Thanks in... (8 Replies)
Hi All
I need to transfer a file from a UNIX server to a windows server.
I saw that it is possible to do this using scp command by looking at the forum listed below:
... (2 Replies)
Discussion started by: vx04
2 Replies
LEARN ABOUT REDHAT
smbtar
SMBTAR(1)SMBTAR(1)NAME
smbtar - shell script for backing up SMB/CIFS shares directly to UNIX tape drives
SYNOPSIS
smbtar -s server [ -p password ] [ -x services ] [ -X ] [ -d directory ] [ -u user ] [ -t tape ] [ -t tape ] [ -b blocksize ] [ -N
filename ] [ -i ] [ -r ] [ -l loglevel ] [ -v ] filenames
DESCRIPTION
This tool is part of the Samba suite.
smbtar is a very small shell script on top of smbclient(1) which dumps SMB shares directly to tape.
OPTIONS -s server
The SMB/CIFS server that the share resides upon.
-x service
The share name on the server to connect to. The default is "backup".
-X Exclude mode. Exclude filenames... from tar create or restore.
-d directory
Change to initial directory before restoring / backing up files.
-v Verbose mode.
-p password
The password to use to access a share. Default: none
-u user
The user id to connect as. Default: UNIX login name.
-t tape
Tape device. May be regular file or tape device. Default: $TAPE environmental variable; if not set, a file called tar.out .
-b blocksize
Blocking factor. Defaults to 20. See tar(1) for a fuller explanation.
-N filename
Backup only files newer than filename. Could be used (for example) on a log file to implement incremental backups.
-i Incremental mode; tar files are only backed up if they have the archive bit set. The archive bit is reset after each file is read.
-r Restore. Files are restored to the share from the tar file.
-l log level
Log (debug) level. Corresponds to the -d flag of smbclient(1) .
ENVIRONMENT VARIABLES
The $TAPE variable specifies the default tape device to write to. May be overridden with the -t option.
BUGS
The smbtar script has different options from ordinary tar and tar called from smbclient.
CAVEATS
Sites that are more careful about security may not like the way the script handles PC passwords. Backup and restore work on entire shares,
should work on file lists. smbtar works best with GNU tar and may not work well with other versions.
DIAGNOSTICS
See the DIAGNOSTICS section for the smbclient(1)
command.
VERSION
This man page is correct for version 2.2 of the Samba suite.
SEE ALSO smbd(8)smbclient(1)smb.conf(5)AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open
Source project similar to the way the Linux kernel is developed.
Ricky Poulten <URL:mailto:poultenr@logica.co.uk> wrote the tar extension and this man page. The smbtar script was heavily rewritten and
improved by Martin Kraemer <URL:mailto:Martin.Kraemer@mch.sni.de>. Many thanks to everyone who suggested extensions, improvements, bug
fixes, etc. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
ftp://ftp.icce.rug.nl/pub/unix/ <URL:ftp://ftp.icce.rug.nl/pub/unix/>) and updated for the Samba 2.0 release by Jeremy Allison. The conver-
sion to DocBook for Samba 2.2 was done by Gerald Carter.
19 November 2002 SMBTAR(1)