Hardware :: Can't Transfer Files Or Directories
May 21, 2010I have installed external hard drive to my computer running Ubuntu 9.10 took a while to format it,but I just can not transfer files or directories.
View 16 RepliesI have installed external hard drive to my computer running Ubuntu 9.10 took a while to format it,but I just can not transfer files or directories.
View 16 Repliesi am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.
View 14 Replies View RelatedI recently had to rescue files from a dying hard drive using Photorec. However, it dumped the files randomly in many different directories. Is there a way I can transfer the contents of these directories into one master directory without the file structure. For example, I have folders 1 through 10 as subdirectories in folder X. How can I transfer the contents of all those folders into folder Y while getting rid of the subdirectories 1 - 10?
View 3 Replies View RelatedI am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.
for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh files
like that and my requirement is the (1- directory is moved to one new directory(dir) which we are given in the script)and (2 .txt files are moved to another new directory(test) which we are given in the script)and ( 2 .sh files are moved to another new directory(bash) which we are given in the scrip)finally the directory anish should be empty..using bash script.how it is possible !!
How can you create a script to move or copy files from a main directory into multiple directories below the main directory.
View 7 Replies View RelatedI need a script that will take all the files in a given directory and create new monthly sub-directories and sort all the files based on the creation date into the appropriate directory.For example, all files created between 01/01/09 and 01/31/09 will be placed in 'JAN-2009'
View 5 Replies View RelatedUbuntu 10.04
I want to copy all directories, files, and hidden files and hidden directories with one command. I want these items to replace any same items in the target directory.
I have tried several things, such as:
cp -r *
cp -aR *
but I only seem to get visible files and directories. Obviously, I am missing something. (A brain, probably....)
How do I delete just directories and not files when performing a "rm -r foo*" command? E.G. I have foobar.txt foofoo.o foorebar.jpg and foo/ foonuggets/ and footemp/ in a directory. In one fell swoop how do I delete just the directories and preserve the files?
Seeing as how I only use the -r switch when removing directories I accidentally ran this command and removed files that I wanted (luckily nothing vital). Lesson learned now I want to prevent ever doing that on files that *are* vital.
im running fedora 12 and am relatively new to linux..i have been unsuccessful researching this issue.a complex task for an otherwise simple question.perhaps the phrase is not native to linux but the operation is universal.how to transfer filesr move files from one location to another.on windows there was a tweek i found that added an option to the context menu "move to".it would physically move the file.any file to any location.fedora has "send to" but leaves the original and may not be the correct method.fedora also has copy/paste but does that duplicate or merely produce a copy?i want to transfer or move video files both small and large and audio files as well.i want to move them from one hd to another.code is possible but would prefer a more manual solution such as an application or context menu option.perhaps copy/paste would be legit enough for linux and i can see why.but for windows copy/paste and "send to" were considered sub standard methods of file transfer.
View 4 Replies View RelatedI have machine A with a public IP address (addr_a), machine B within a LAN of private IP address(addr_b), the router of the LAN has a public IP address (addr_r).If I log into machine A by ssh from machine B, how can I use the command scp to copy files from machine A to machine B?
View 1 Replies View RelatedHow do I transfer my files from Windows Xp to Ubuntu??
View 1 Replies View RelatedI need to transfer some a large amount of file from my Linux lap-top to my desktop Windows machine. Can I connect the two computers through a simple crossover cable and simply navigate into the Windows machine and move to files manually or if not, what's the best way to do this? I don't want to burn a bunch of disks.
View 2 Replies View RelatedFedora 13
I recently deleted some files. I would like to know are the files kept in a directory? Like in windows recycle bin. I would like to know where these files are?
I downloaded some backgrounds from Gnome Art and am having trouble moving them to the backgrounds folder. I've been trying this: sudo mv desktop <filename> usr/share/backgrounds.I moved to the desktop to make it easier.
View 1 Replies View RelatedI'm totally new to Linux and this website. I was wondering if anyone had or could help me create a shell script that would merge two files from two different directories and then have that new merged file in a third differnt directory.The merged file would need to eliminate duplicates and sort the contents.
View 6 Replies View RelatedI'd like to remove all directories of a certain depth that don't contain .txt or .log files -- is this possible? So far I have: find ~ -mindepth 3 -maxdepth 4 -type d -exec rm -r '{}' ; Is it possible to add in "only if the directory doesn't contain .txt and/or .log files"? Or do I have to start learning perl to do that?
For example:
dir 1:
hello.txt
runme.sh
dir 2:
runme.sh
oct12.log
[Code]....
the command to display top 10 files and top 10 directories on a linux system.
View 4 Replies View Relatedi made a program to list all the files in a directory,is there a way to determine what are directories and what are files ?
View 5 Replies View RelatedI have a laptop connected to the internet through wifi, and a desktop connected directly to the router. I can trasnfer files of any size, with scp, from the desktop to the laptop; on the other hand, I can transfer small files (a 4,0K file, for example), but not files with some tens of megabytes, from the laptop to the desktop.
When I try to transfer a big file, the transmission starts at normal speed (around 2 mb/s), and then it slows down, and the message "stalled" appears where the remaining time was.
I am trying to transfer a files from my linux to my windows 7 virtualbox but how to do it. I installed samba as a server and bridged the virtual machine to my physical LAN but i just don't know how the real transfer is achieved...
View 7 Replies View RelatedI want to transfer files through ftp on my fedora 13 system. when I type ftp in terminal, it shows an error message "command not found" why?
View 6 Replies View RelatedI want to transfer files (a music folder) between two Linux computers. After searching for the best way to do this, I've seen that there are lots of ways of doing this. I know this has been asked a lot, everywhere and all the time. The main problem with this is that there is no clear, recent consensus on one best way to do this task in 2011 for Linux beginners (even depending on some parameters).
So in the spirit of the Stack Exchange websites, I want this not to be related to my particular situation, but more of a guide to others as well on how to transfer files between two Linux computers over a local network. I think a wiki would be useful for many.
Here's what I found so far:
ssh
sshfs
scp
sftp
nfs
samba
giver
What is the easiest? Most flexible? Simplest? Best solution? What are the pros and cons of each? Are there other (better) options? What are the parameters in choosing the best method (solution might depend on number of files, filesize, easiness vs. flexibility, )?
I am transferring a file from a linux pc going to a windows ftp server using "ftp put". My file is a zip file that includes .txt files inside it. Here is what's happening when I transferred this file :I used ftp put for transferring and found that my transferred zip file was corrupted and couldn't be opened on the ftp server.I found the solution for this on the internet. I needed to use 'binary' to make it right.
I transferred again using binary and then ftp put the zip file onto the other end. Yes, it worked. My zip file wasn't corrupted anymore and I could already opened it on the ftp server. But the problem remains on the .txt files inside it. Converting the file into binary made my .txt files to be distorted and unreadable. I read from the internet that .txt files need to use Ascii instead of Binary to be readable, but if I use ascii it would cause my zip file to be corrupted again. I need to successfully transfer a zip file that contains .txt files using ftp put.
i installed it correctly and then it loaded,, GREAT, but then i was looking through all different options on the first screen, i was looking through the different features and i looked at my documents. there was nothing there i booted up vista and found the folders, so i was wondering if there was a way to transfer the files.
View 9 Replies View Relatedi have taken a basic networking class that involved both XP and fedora. I was recommended to use ubuntu though because it's easier to use anyways i have a world of warcraft folder on a windows vista running computer and was wondering how i could use either telnet or FTP to get that ~20GB folder over to my linux desktop.I installed 10.04 and have installed WINE (which i'm still trying to figure out how to work).
View 4 Replies View RelatedI plan on getting a newer/larger hard drive.
My music file is about 10gb, all lossless,cd quality
The dvd`s I have are memorex 4.7gb 16x
Can I Just drag each file over to cd-dvd creator and burn it, or do I have to open each file first?
I read that transferring music can cause a loss of quality. Is this true?
Is there a way to transfer files to the iPhone in ubuntu (9.04) without using ssh or running Windows in a VM?
View 1 Replies View RelatedI need to re-install windows on the windows side of my pc (my HDD is partitioned), and was wondering if there's any way to back up my pics and iTunes library by placing them on the Ubuntu side of my PC?
View 3 Replies View RelatedWith transfering files and folders across from windows xp to lovely ubuntu 10.10 without the need for any usb sticks or anything. I installed Linux via the installer which is found in the ISO image whilst still in windows.
I used Winzip to open the ISO image and found the installer for installing whilst in windows xp so it installed it on the same partition as xp.
I have 2 debian computers set up, and would like to transfer files from one to the other. I hooked up a cable to each of them, but how do I transfer files?
View 4 Replies View Related