OpenSUSE :: Script File To Copy Files?

Apr 6, 2011

I have an external hard disk with lots of big files and a lot of small matlab script files .m.I would like to grab all the files inside that harddisk that have the .m extension or the *.mat file extension (both are matlab files).Of course this is a -first-find the *.m files script and -then copy the files into the hard disk.What I do not know is how I can also keep the structure of the folders containing the *.m and *.mat files when I will copy them in my local hard disk.As this external hard disk contains 2TB of data it is not possible to copy all the files first and then remove the unnecessary.So I have to find and copy only the files I need but with also keeping the tree structure that the external hard disk has

View 6 Replies


ADVERTISEMENT

OpenSUSE Network :: Copy Files - Error Saying: Could Not Write To File Smb://{path_to_my_file_in_the_remote_folder}

Nov 8, 2010

I have installed opensuse 11.3 64 bit. For many years was able to connect to a file server within our domain via konqueror in all previous versions of opensuse using: smb://user@server.ip.adress/userdata/user_name/
This would ask me a password and then I would be able to move, read, create and delete files. I never configured samba on the linux client because this method always worked. However very recently (I suspect since I installed 11.3) I am facing a problem I cannot resolve. I can still log in, browse the remote folder, read files, create new ones (for example a txt file), delete them, but I cannot copy into that remote folder files larger than about 20KB (I try copying or moving files by dragging them from my desktop into the konqueror window that shows the remote folder contents).

Small files are OK, but for files are larger than ~20KB there is an error saying: Could not write to file smb://{path_to_my_file_in_the_remote_folder}. Strangely, the file is nevertheless created in the remote folder, but with a fixed length size of 32KiB.

View 2 Replies View Related

Programming :: Copy Lines From Multiple Files To One File Using Sed -w?

Aug 25, 2010

I've been trying to sort this out for several hours and I?m totally lost? I?ve been searching around, but haven?t found the solution to my problem. I have a directory with 100 files. I need to copy 10 lines of each files (let?s say from line 45 to 55) into one unique file. So I guess I could use sed ?w, but I didn?t manage to write the right script. I also tried using a loop to create 100 different files, each one with the 10 lines) to concatenate them later on. But I only got 1 file, not 100.

View 12 Replies View Related

Fedora :: Copy Files With Prompt For Similar File Names?

Nov 17, 2009

has anyone used some software tool for copying a file from one location to another (I mean local files - for example from one folder to another), which prompts if you already have this file, or a similar one...I'm going to use it for my file archive ... mostly for my MP3For example, I might have the folder /home/user/MP3/Heavy Metal/Old/Downloaded/Metallicabut have forgotten that I already have Metallica in this folder and now I want to copy my new music collection to my archive folder which contains for example this folder:MP3/Rock/MetAllicA-Full-DiscographyI need copy files software which will tell me:"You already have folder with similar name to 'MetAllicA-Full-Discography' called 'Metallica', do you want to skip this folder, or copy it to location 'MP3/Heavy Metal/Old/Downloaded/'?"This way I will reduce the file redundancy in my file archive, or at least will keep similar items close to each other ..

View 5 Replies View Related

General :: Copy The Contents Of A Txt File To Other Txt Files (with Similar Names) By Cp Command?

Jul 2, 2010

Code:
cp -r aa123.h aa*.h
results in
Code:
cp: target `aa456.h' is not a directory

Yes I read man page cp (1p). There is something written there about it, I couldn't understand though.

View 7 Replies View Related

General :: Use File Globbing To Copy All The Files In The /labs/data Directory?

Sep 13, 2010

Use file globbing to copy all the files in the /labs/data directory that end with a .out to the lab05 directory.

Use file globbing to copy all the files in the /labs/data directory that start with a c, d, or n into the lab05 directory.

View 5 Replies View Related

OpenSUSE :: Copy Ext4 Files To A Mac Using A USB HD?

Sep 30, 2010

How can I copy ext4 files to a Mac using a USB HD?

View 2 Replies View Related

Ubuntu Networking :: Slow File Sharing \ Copy Some Files From Laptop(also Running 10.04) And Getting Around 300-500 Kb/s?

Aug 9, 2010

I recently got my D-Link DWA-556 pci card working with my new desktop with Ubuntu 10.04 64-bit. Connection speed is good, but local network file transfer speeds are pitiful. I'm trying to copy some files from my laptop(also running 10.04) and I'm getting around 300-500 kb/s, which is actually lower than my typical download speeds. Anyone know what the problem might be? output of iwconfig is this:

Code:
wlan0 IEEE 802.11bgn ESSID:"linksys"
Mode:Managed Frequency:2.412 GHz Access Point: 00:1D:7E:59:04:0E

[code]....

View 3 Replies View Related

OpenSUSE :: Copy Files In Alphabetical Order?

Feb 8, 2010

I need to copy my music to a portable HDD in alphabetical order. My headunit in my car will only display the folders and files in the order that they were written to the disk so to have any form of logic to the album / track listings they need to be written to the disk in alphabetical order.

how to do this in openSUSE? I know dolphin doesn't do this.

View 9 Replies View Related

OpenSUSE :: Copy Files In Daily Basis?

May 19, 2011

inside my Linux I am using virtual box to launch windows xp. I have one shared folder between the operating systems so as to share my files As I can not trust virtual box and windows xp... can you suggest me an easy way to take daily backups of one of the folders I have inside that shared folder?The files are mostly html files so the file size is not so much of a problem (at least I think!)How can I take daily backups so to not lose something?

View 6 Replies View Related

General :: Copy Lines Starting And Ending With Specific Pattern From Multiple Files To A File?

Jul 27, 2011

A function by name abc is called in many files. I want to copy all the lines with the function call to an output file.A simple grep on function name doesn't help me as the function call is spanning across multiple lines as follows:

abc(parameter1,
parameter2,
parameter3);

So I want to copy all the three lines (till semicolon) to the output file.The problem is because there are more than 200 calls for the same function and I cannot do it manually

View 2 Replies View Related

Software :: When Copy Files Between Two Samba Shares From Windows Machine \ Copies The File Through PC To The New Destination?

Apr 17, 2011

I recently replaced my windows fileserver with one running Ubuntu. One thing I've noticed (which is a annoying) is that when I copy files between two samba shares from my windows machine, it copies the file through my PC to the new destination. On windows shares it just did some sort of local copy (ie it took about 2 seconds) rather than 3-4 minutes. Is this the normal behaviour, is there any way around it on Linux

View 5 Replies View Related

OpenSUSE :: Copy Some Files And Folders To The Usb Memory Fails

Jul 29, 2010

when I try to copy some files and folders to the usb memory fails me. What if I copied it from console or dolphin. I get this console error:

cp -r /home/jonatan/Documentos/carpeta
cp: no se puede crear el directorio �./carpeta/ejemplo�: Argumento inv�lido

If I try to copy the data to an ntfs partition I have no problem.

View 5 Replies View Related

OpenSUSE :: Dolphin Slow Wildly Down When Copy Files?

Dec 1, 2010

on my dell xps M1530 dualcore duo 2.2GHz 4GB ram 500GB harddisk suse 11.3 KDE 4.4 and KDE4.6beta1, when I copy big or a big number of files (20 or 30 files 500MB each) dolphin slow wildly down, especially when I copy from a smb:// to my disk, dolphin start immediately to copy but when I click on a tab or a folder (a one that I didn't opened before) dolphin shows it to me after a couple of minutes, is it possible to solve??

View 9 Replies View Related

OpenSUSE Hardware :: Copy Files To A Floppy Disk?

Apr 26, 2010

I cannot copy files to a floppy disk because access denied.

View 9 Replies View Related

OpenSUSE Install :: Transfer(copy, Move...) Files To Windows?

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

OpenSUSE Network :: Copy Files From Windows 7 Machine Over To The Drive?

May 15, 2010

Im trying to setup samba so that i can copy some files from my windows 7 machine over to the drive on the opensuse machine running 11.2. i believe i set everything how it should be set up but no matter what i do i cant write filesfrom the windows machine. Here is my smb.conf

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2009-10-27
[global]

[Code]...

View 9 Replies View Related

Fedora :: Disk Copy Utility - Should Be Able To Not Only Copy Files But Boot Sector And Everything

Sep 1, 2010

I have a 160GB harddrive which I installed a F12, would like to upgrade to a bigger drive, but I hate to have to re-install everything.

Recommend a good disk copy utility? The utility should be able to not only copy files, but boot sector and everything. So I just need to make a copy, change my BIOS to boot from the new drive and run everything as before.

View 11 Replies View Related

Ubuntu Networking :: Copy Files From XP Infact Folders Using TERMINAL In Netbook, Not Copy And Paste Using Mouse?

Jul 9, 2010

just installed ubuntu couple of days back on my netbook. I am still a beginner, enjoying my adventure exploring ubuntu. I have another desktop which runs on XP. I am able to access XP shared folders through my netbook(linux). However, i wanted to copy files from XP infact folders using TERMINAL in my netbook, not copy and paste using my mouse. Are there any commands for it?

View 1 Replies View Related

OpenSUSE Hardware :: USB Hard Drive Access - Copy And Paste Files?

Sep 27, 2010

just want to download the 60mb-ish pack of family photos from my external usb hard drive. I've gone through a multitude of wikis and help threads and can't seem to figure out how to copy and paste those files to my laptop The usb hd works perfectly as I just was using it about 1 hour ago when I still had vista on this laptop. Here's a copy of my fstab as that seems the file all the wiki's:

[Code].....

View 9 Replies View Related

OpenSUSE :: Cannot Copy File In Server Windows Using Dolphi

Jul 29, 2010

I update my system to 11.3 and cannot copy file(s) to Windows Server 2003 by Dolphi (smb://user@server/shared). After error inform for dialog box, I click on Cancel Button and see the file, or better, part of file (32.0 KiB) try copy. I can create folder, create file empty, but not copy file or files. The problem isn't permission, because I inform my credentials correctly.

View 8 Replies View Related

General :: Copy A Read-Only File And Make The Copy Writable With A Single Cp Command?

Mar 1, 2011

How to copy a Read-Only file in Linux and make the copy writable with a single cp command in Linux (Ubuntu 10.04)? The --no-preserve and --preserve seemed to be good candidates, except that they should "and" the mode flags, while what I am looking for is something that will "or" them (add +w mode).

More details: I have to import a repository from GIT to Perforce. I want that all Perforce depot files are Read-Only (that is how Perforce was designed), while all other files that were derived/copied from depot files are writable. Currently if a Makefile tries to copy a Read-Only file then the derived file will also be Read-only. This leads to build-errors when cp tries to overwrite Read-Only file second time. Of course the --force is a workaround here but then the derived file is also Read-Only. Also I do not want to mess with "chmod" after each "cp" command - I will do that only as the last resort.

View 1 Replies View Related

OpenSUSE Install :: Copy A File Into Root Folder - Setting The Access Permissions?

Jun 23, 2010

I want to copy a file into my Root folder but I cant.what should I do?

View 2 Replies View Related

OpenSUSE :: Copy The Flash 11 Beta File Into The Lib64/browser-plugins Folder But Get 'Access Denied

Jul 31, 2011

I am new to opensuse 11.4. I am trying to copy the flash 11 beta file (libflashplayer.so) into the lib64/browser-plugins folder but i get 'Access Denied. Could not write to (destination).

View 4 Replies View Related

General :: Creating A Script To Move Or Copy Files Into Multiple Directories Below The Files?

Aug 25, 2009

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 Related

Ubuntu :: Command Line To Copy Files From One Location To Another / Retain Source Files Group / User?

Feb 20, 2011

Is there a method at the command line to copy files from one location to another and retain the source files group and user?I'm migrating some MySQL files from one machine to another.I want to back-up the original files in the directory presently. They have owner:group of mysql, some have owner:group root:mysql and so on. To copy them under cli or Nautilus everything changes to root for I execute sudo cp or gksudo nautilus and copy via gui.

Since it is MySQL data I could simply do a dump of the database and restore it on the other machine. But there's about 20 db's and I want to do this via a copy for it will be faster - at least that is what I think.

View 5 Replies View Related

Red Hat / Fedora :: Fedora Shell Scripting \ "Find In Curent Folder For Files, And It Copy First File He Find With Name Gived By User?

May 18, 2011

shell scripting in Fedora14I want a script"Find in curent folder for files, and it copy first file he find with name gived by user, if name already exist then echo error message and finish"command usage " bash scriptname copyASname"

smthing like Code: #!/bin/bash
for files in /home/user/*
do

[code]....

View 1 Replies View Related

General :: Can't Copy Files To Root Owned Files?

Feb 1, 2011

When i installed ubuntu. I made a seperate partition so that i could copy an ISO image onto it of an up-to-date version of ubuntu. I wanted to then boot the ISO up so i could install the version that way.I've already tried doing it through the update manager but it'll download, almost be done with installing and it freezes on me. so i figured this would be easier. However i do not know how to gain access to the other partition to copy the ISO image.

View 6 Replies View Related

General :: Copy Files And Folder Except Some Files And Folders?

Jun 8, 2010

I have many files and folders in my source folder. I want to copy some files and folders from that source folder to destination folder. What should be require to given with the "cp" command?

View 1 Replies View Related

OpenSUSE :: Setting File Filter For File Open Dialog (to Suppress Showing "hidden" Files, Etc.)?

Dec 10, 2010

On both my 32-bit laptop (openSUSE 11.3) and my 64-bit desktop (openSUSE 11.2) I have been unable to find out how to prevent seeing all the "hidden files" when opening files in many applications, including (for example) GIMP, Xournal, OpenOffice, gedit.In the Control Centre "File management" options "Show hidden and backup files" is NOT checked in "File Management Preferences.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved