Ubuntu :: Move/copy A File To A Shared Windows Folder?
Mar 23, 2010
I am able to view my windows network from my UBUNTU desktop after being prompted for a username and password to the windows network. No problem. But how can I accomplish this from the command prompt?
Here is my windows directory; smb://corpserver/d$/Data
And here is what I am trying to accomplish;
Code:
mv /var/lib/mysql/RSecuredData.csv smb://corpserver/d$/Data/Common/Secured%20R%20Reports/$(date +%Y%m%d)_RSecuredData.csv
Basically taking a csv file and moving it from mysql directory on my Ubuntu machine to a network folder on my windows server. (Windows Server 2003)
When I try that command from the command prompt I recieve;
Code:
mv: cannot move `/var/lib/mysql/RepoSecuredData.csv' to `smb://corpserver/d$/Data/Common/Secured%20Repo%20Reports/20100323_RepoSecuredData.csv': No such file or directory
View 9 Replies
ADVERTISEMENT
Jun 9, 2010
lately, after shifting to 10.04, when I copy files from the Ubuntu to my XP shared folders, it goes very very slow. i restarted the router and nothing changed. I can see the folders, but the copy speed is still very slow.
View 2 Replies
View Related
Apr 8, 2011
I was wondering if there would be a way for me to copy the contents of a shared folder that's running on an XP system using shell script. Actually, there are two shared folders that I want to do this with. I want to be able to launch the script and automatically copy all the contents of each folder into two separate folders on my ubuntu desktop. For example;
Lets say that I have Shared Folders A1 and A2 on my networked XP system and I have Folders B1 and B2 on my Ubuntu desktop. I want the script to automatically copy the contents of A1 into B1 and likewise for A2 and B2. During the copying, I want the script set up such that any pre-existing files in the B1 & B2 folders will automatically get overwritten by the ones copied from A1 & A2.Is there any possibilities of me achieving this?
View 7 Replies
View Related
Sep 14, 2010
When I position icons on the desktop in specific places, then I choose to move a file or folder into another folder, all the icons arrange back to the left side. This happened in an earlier version of KDE 4.x, disappeared the next version, and reappeared. how to keep this from happening. It makes using the desktop a pain in the you know what.
View 2 Replies
View Related
Feb 13, 2011
this is posable but am trying to do this "Create folder from a filename and move the file into the folder" i have 500000+ file's i need to do with is there a easy way?I really don't want to download them all make/move them with filemonkey just to re-upload them
View 2 Replies
View Related
Apr 22, 2011
Im usign photorec to recover some files that i lost during a format to my hard drive.
The program works like a charm but put all the files on differents folders. i use the find command to put on a list the jpg files but how i use the cp or the mv command to move that files in the list to another folder?
View 4 Replies
View Related
Dec 1, 2010
When i want copy a file or folder in some system folder like sbin,Etc.show me error about privilage but when I'm in console i use su command for become admin and i can copy my file or folder.in other operation system like windows user can copy anything,i want know for direct copy my folder in linux without console what should i do? i must join my user name in root group?
View 4 Replies
View Related
Feb 7, 2011
I was wondering if theres a way to create a folder that would be accessible when I boot with windows or ubuntu? Is there some shared location I can place this folder?
View 4 Replies
View Related
Aug 13, 2011
I am runnig WinXP and OpenSUSE 11.4 on dual boot.Generaly i am using SUSE, XP only for UpNP Media Center(server) to watch movies stored on my computer on TV via STB.For this i am using TVersity for wich i not found yet Linux alternative - or better say - i found it but is too heavy for my PC(P4 1.6 Mhz, 768 MB RAM, an dinosaur from Nvidia Vanta with 64 MB RAM)But this is not a part of my question.My question is how to transfer(copy, move...?) files from SUSE to WinXP?A large files like avi, mkv, mostly movies.I solved this to copy them on USB and then from USB to Win.This is a very slow proces because my PC have only USB 1.0And before asked me - all files are legaly downloaded from paysites.From SUSE, partitions(disks), folders and files under WinXP are visible but is not possible to copy files on them - acces is denied.Is there any way to do this?Suse is insatlled on LVM - /root/home/swapI am interesting ONLY to copy files from SUSE to Win, not at al from Win to SUSE.Code:
Directory: /home/janez
Sun Aug 14 07:53:26 CEST 2011
janez@linux-cia6:~> su - root
[code]...
View 5 Replies
View Related
Nov 18, 2010
I installed ubuntu in a desktop pc and without configuring anything i had my network working: 1 windows 7 pc which is sharing a folder with other 3 windows pc and with my ubuntu pc. Yesterday as every day before i entered into win7 shared folder from ubuntu but it asked me for a password which was not set up in win7 pc.
View 5 Replies
View Related
Jan 31, 2011
I'm in an organization where each user has a Windows network username, and a central windows server with a folder for each user. I can access the folder using SAMBA and my (windows) network user name. I want to change the permissions (sharing settings) for my folder on this windows server - using only Ubuntu.
Had i been using windows I would simply right-click on the folder, go to permissions settings and add/modify users in the list.First of all, is it even possible to do this using Ubuntu?
View 2 Replies
View Related
Feb 16, 2011
i had created a thread in desktop environment and had received no comments, so posting it here again.
Had installed ubuntu alongside windows xp in dual boot. everything was working fine untill last week.
last week i did share a folder on NTFS partition from ubuntu to be accessed by my laptop which runs XP. i could access the folder after i ran this command from terminal "sudo smbpasswd -a myusername". After this i cannot boot to windows. it shows up windows screen and reboots again. ubuntu works fine. what do i do to get back windows XP to working again?
View 2 Replies
View Related
Mar 30, 2010
Here is my config so far :
1. I installed Windows server 2008, with Active Directory, DNS, DHCP.
2. I installed Ubuntu 9.10 and joined it to the domain. Everything is ok. I can see the Ubuntu in the active directory, it gets an Ip address from the DHCP.
3. I create a shared folder on the server 2008.
4. I can access the server from Ubuntu ONLY by going to "Connect to Server" and entering the data to connect.
My problem :I would like to have the shared folder showing up when Ubuntu boots up or when the user is logging IN on the Ubuntu host. I have tried many things without success. I know how to do it so this is fine. BUT i would like a user to be able to access the shared folder without having to do anything (especially for users who are not familiar with computers). What is the best way to do it ?
View 1 Replies
View Related
Nov 29, 2010
Initially I thought - use a for loop with ls in it:
Code:
However this causes lots of problems (folders have extensions, I have duplicate folders, the names with spaces create a folder for each element of the name).
The contents of the folder is basically movies (some with subtitles). Some of the names have things like (original) or CD1 CD2 in them.
View 15 Replies
View Related
Jan 24, 2010
I'm Using CentOS5.4 and I don't know how to access a windows shared folder over the network
View 1 Replies
View Related
Jun 2, 2010
How do I disable the file move/copy confirmation in Gnome Commander?
View 4 Replies
View Related
Apr 30, 2009
I have everything networked properly, as far as I can tell, both computers see each other... I can use putty to port in and use my Linux machine (Debian 4). When I go to map network drive on my XP machine, I can see the computer, but not the shared folder. After some googling I found that i have to create my Windows user name ont he Linux machine as a user as well. Unforunately, that user is 'Administrator'. So I told Linux to force user, and it created it, and did smbpasswd command and added the user to the samba list. Still nothing.
View 14 Replies
View Related
Jul 16, 2011
How do I move around select a file and move or copy it. All tutorials I have seen are not simple enough.
View 7 Replies
View Related
Jun 19, 2011
I have been learning about P2P networks and have been experimenting with all kinds of operating systems. I figured out how to share and access Windows shared files on other Windows computers.
Now I'm trying to access Windows shared folders from Linux operating systems.
Here's the deal. I created a shared folder on Windows 2000 Professional. I want to open it from Kubuntu 10.04.
I am not running Virtualbox. These are separate operating systems on separate computers.
View 2 Replies
View Related
Feb 4, 2010
I am running ubuntu using VirtualBox on a Macbook Pro. I wanted to share my documents folder on the Mac in the virtual machine. I had no issues creating/mounting the share folder on ubuntu. However the file permissions for the shared folder are owned by root.
Code:
drwx------ 1 root root 1088 2010-02-04 10:18 Mac_Share/
I used the following command to mount the folder:
Code:
sudo mount -t vboxsf Share_Documents ~/Mac_Share/
I checked that the folder is mounted I can see what is there using
Code:
sudo ls Mac_Share/
How do I make the folder accessible to the user? Is there another -option needed to do this in the mount command?
View 9 Replies
View Related
Apr 29, 2011
I am trying to post a driver in ..../cups/model folder but it says"access denied....could not write to ....cups/model.how do i move this driver file to the model folder
View 1 Replies
View Related
Aug 18, 2011
I mounted a shared windows folder from my LAN, and I changed the mount point's ownership on Linux using command line `chown me:me windir`. but when I enter the mount point, and to create files, it mentioned me 'Permission denied', but the file is actually created on the windows' folder, and its ownership is root:root.
this problem puzzled my programs going to run on it. cause them will detect a system returned error, and terminate in a abnormal way.
View 3 Replies
View Related
Jun 7, 2011
please help to mount windows storage server 2008 shared drives and folders( without password) to rhel ent server 6 through acl. I want restricted access to those drives and folders.
View 3 Replies
View Related
Feb 6, 2011
I have virtualbox installed, and arch set up as the guest OS now i have made my home folder shared folder with the guest OS but at first my arch couldnt read my home folder.i realized the permission setting for the home folder is set as rwx to myself, and nothing to everyone else.so i chmod -R 755 to everything and that seemed to have solved the problem now i want to make my home folder readonly to my guest OS. do i just do chmod -R 744 to my home folder? i already messed up something when i set 644 to everything in my home folder, as my dropbox stopped working so im afraid of something like that happening to me again, otherwise i d love to experiment
another question is, are .so files supposed to be executable? I googled it, and it seems they dont have to be.But my dropbox stopped working after the .so files in /home/myhomefolder/.dropbox got assigned 644 D:
View 2 Replies
View Related
Jan 2, 2010
I have two computers running Ubuntu 9.10, both have one shared folder. These were set up via Nautilus.
On computer 1 I can see and use the shared folder of computer 2 just fine.
On computer 2 I can NOT see the shared folder of computer 1 anymore since recently. I has worked in the past.
Some more information: the name of computer 1 is "daniel", the share name is "gedeeld". So the address of the shared folder of computer 1 would be smb://daniel/gedeeld/
Opening this address in Nautilus works fine on computer 1 (that shares the folder), but results in an error on computer 2.
Error: failed to mount Windows share. Please select another viewer and try again.
View 1 Replies
View Related
Jul 30, 2011
I have Ubuntu server with Apache 2, PHP, and various DBMSs running in VirtualBox on my Mac host for my web development work. To easily create/edit the files I'm working on, I mounted a directory from my Mac host via the VirtualBox shared directory feature to /var/www/. Every file I create on my Mac host has the following permissions on the on the Server: -rw-r--r-- 1 root root 6 2011-07-30 01:27 test.The problem is that most PHPscripts/frameworks/etc.need write access to some files.It is extremely annoying to have to chmod every new file/directory that needs write access.Is there a way to set the correct permissions for the files/directories automatically?
View 2 Replies
View Related
May 7, 2010
I wrote this little script and I need some help, I am trying to achieve following:Every day I receive new file in the /home/denis/MyData/ folder and I don't know what the file mane will be but I want to move any file that arrives there to the new location /media/DataBackup/Linux/backup/ (media/DataBackup/ is external 500GB USB drive)to automatically create new folder with the date and time stamp every day and then to move content of the /home/denis/MyData/ into the new folder with current date stamp. So every day there will be new folder and will contain files for that day only.My script is as follows:
cd /media/DataBackup/Linux/backup/
mkdir MyData_$(date +%Y%b%d_%HH%MM)
#this creates file MyData_current date and time
[code]...
View 3 Replies
View Related
Dec 15, 2010
I spent all day learning some concepts of Samba which I left while preparing for RHCE.One of them is how to permanently mount (fstab entry) windows shared folder.Manually mount command is running fine for me.
View 6 Replies
View Related
Oct 3, 2010
Many years ago, I converted a portion of my files to an arbitrary format with a specific extension. i no longer desire to have them in this format and i would like begin the process of replacing them because conversion is not an appropriate solution. unfortunately, they are mixed in separate folders of the same root folder with files in my current format of a different extension. I feel it would make this process easier if I were to move every folder that contained a file with the undesired format to a separate root folder. The files are stored on a Linux server and shared via samba. How can I do this with a couple of commands or a script? I am open to other suggestions as well. I want to avoid time spent editing text files. Ultimately, I'd like a command that produced a list of full paths for folders, sorted by the number of levels would be a nice touch. A list of all of the files is clearly not what I'm looking for.
View 2 Replies
View Related
Nov 20, 2010
I need to copy a file from my desktop to a system folder but unsure how. It needs to go to the "etc/X11" folder
View 6 Replies
View Related