Sponsored Content
Full Discussion: smbclient & dd
Top Forums UNIX for Advanced & Expert Users smbclient & dd Post 302603550 by dr_mabuse on Thursday 1st of March 2012 09:52:41 AM
Old 03-01-2012
smbclient & dd

you know I am told to get an image of the whole ubuntu system on my server shared folder.
If you have used dd before to get an image of the occupied space on the system please lemme know bout your command.
(I preferably want dd to only get an image of the occupied file system not the free space)

Well, here comes the next part. You know, though I can view my server shared folder graphically, I cannot do it using shell command. The server has the following path:
Code:
smb://username@safe/mysharedfolder

(username and mysharedfolder have the same name)

I tried different commands for smbclient to connect to the server but it failed. Any helps would be appreciable.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Incomplete reading and transferring zip file via SAMBA smbclient

Hello, Anyone out there can help on this problem? I have a zip file about 34MB containing a file in EBCDIC and is resided on a Windows 2000 server. This zip file is retrieved and read from a UNIX server via SAMBA "SMBCLIENT" (by default the file is transferred via command bin) and issued... (2 Replies)
Discussion started by: eddie Law
2 Replies

2. Solaris

Connect smbclient to an windows server 2003 with active directory

Hello everybody .. i want connect with smbclient to an windows server 2003 with active directory. Exist a version of samba that can do this? Thank you very much for your time. Good Luck :b: (3 Replies)
Discussion started by: enkei17
3 Replies

3. UNIX for Dummies Questions & Answers

smbclient print while preserving windows printer settings?

I have successfully gotten AIX to print to a windows shared printer with this command: smbclient -U user%password -W domain -c "print file.ext" the only problem is: I have this print queue set up on the Windows side to overlay an image to all pages. When printing from samba, the overlay... (2 Replies)
Discussion started by: raidzero
2 Replies

4. UNIX for Dummies Questions & Answers

Smbclient on Unix

The directory on windows server is renamed and I need to change the directory location on smbclient on unix. How do i do that, please advice. (2 Replies)
Discussion started by: welldone
2 Replies

5. Shell Programming and Scripting

Using the smbclient

Hi, I am trying to use smbclient to send message to a windows machine.It is showing "connection failed message" . After googled I came to know about "smbfind" which will give me the nodes in my network. In that list the machine name was not present where I was trying to send the message. ... (1 Reply)
Discussion started by: forstudy3
1 Replies

6. Shell Programming and Scripting

smbclient - check if 'cd' is sucessful?

Hi, I've a question regarding a smbclient-Command in my shell script. Here my relevant script part: fileattr=`/opt/samba/bin/smbclient --authentication-file=$AUTH_FILE //$SMB_HOST/$SMB_SHARE 2> /dev/null prompt off cd $SMB_DIR put $LOC_FILE $SMB_FILE dir /$SMB_DIR/$SMB_FILE ... (17 Replies)
Discussion started by: FreddyDaKing
17 Replies

7. Shell Programming and Scripting

Issue on smbclient

Hi All, I've been facing on this issue. From SunOS to Windows /usr/local/samba/bin/smbclient \\IP\<source dir> -D $TARGET_DIR -U dir1/$WINDOWS_USER%$WINDOWS_PWD -c "put $SOURCE_FILE $TAR GET_FILE;exit" This command in my shell script work fine but the file saved on windows environment... (3 Replies)
Discussion started by: gio123bgg
3 Replies

8. Shell Programming and Scripting

Shell Script - If and smbclient (ftp)...help

Hi, So I am writting a script to copy files from Linux to windows using smbclient, I have done this a fair amount of times now. Unfortunately this time I am using a simply if statement to determine if the file exists before beginning the smbclient section.....however if I tab the smbclient... (4 Replies)
Discussion started by: mcclunyboy
4 Replies

9. UNIX for Dummies Questions & Answers

Using command line variables in smbclient

Hi All, Have written a couple of lines to move the contents of a folder from a unix box to a windows location using smbclient (below) smbclient '{servicename}' -A ~/.smbclientauth -c 'mkdir \test_folder"' smbclient '{servicename}' -A ~/.smbclientauth -c 'cd "; lcd ";... (4 Replies)
Discussion started by: gary2410
4 Replies

10. Linux

Error on smbclient login on Red Hat

I have the smbclient installed and I am able to see information from the '-L' option. But when I attempt to login I'm getting the "NT_STATUS_BAD_NETWORK_NAME". I was hoping for help, because I'm not sure what is supposed to go into the smb.conf file. My goal is to transfer files from my Linux... (2 Replies)
Discussion started by: islanderman
2 Replies
CLOUDSERVERS(1) 						   User Commands						   CLOUDSERVERS(1)

NAME
cloudservers - Command-line interface to the Cloud Servers API. SYNOPSIS
cloudservers [ --username USERNAME ] [ --apikey APIKEY ] <subcommand> DESCRIPTION
cloudservers is a command line interface to the Rackspace Cloud Servers API. COMMAND OVERVIEW
cloudservers backup-schedule Show or edit the backup schedule for a server. cloudservers backup-schedule-delete Delete the backup schedule for a server. cloudservers boot Boot a new server. cloudservers delete Immediately shut down and delete a server. cloudservers flavor-list Print a list of available 'flavors' (sizes of servers). cloudservers help Display help about this program or one of its subcommands. cloudservers image-create Create a new image by taking a snapshot of a running server. cloudservers image-delete Delete an image. cloudservers image-list Print a list of available images to boot from. cloudservers ip-share Share an IP address from the given IP group onto a server. cloudservers ip-unshare Stop sharing an given address with a server. cloudservers ipgroup-create Create a new IP group. cloudservers ipgroup-delete Delete an IP group. cloudservers ipgroup-list Show IP groups. cloudservers ipgroup-show Show details about a particular IP group. cloudservers list List active servers. cloudservers reboot Reboot a server. cloudservers rebuild Shutdown, re-image, and re-boot a server. cloudservers rename Rename a server. cloudservers resize Resize a server. cloudservers resize-confirm Confirm a previous resize. cloudservers resize-revert Revert a previous resize (and return to the previous VM). cloudservers root-password Change the root password for a server. cloudservers show Show details about the given server. Optional arguments: --username USERNAME Defaults to env[CLOUD_SERVERS_USERNAME]. --apikey APIKEY Defaults to env[CLOUD_SERVERS_API_KEY]. See "cloudservers help COMMAND" for help on a specific command. cloudservers March 2010 CLOUDSERVERS(1)
All times are GMT -4. The time now is 03:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy