Software :: Copying Only Files Inside Any Folder?
Dec 22, 2010
I want to copy everything in templates/blue to the folder code/
However: cp -r 'templates/blue' 'code'
Creates a folder called blue inside code. I tried cp -r 'templates/blue/*' 'code', but that didn't do anything.
View 3 Replies
ADVERTISEMENT
Sep 10, 2009
How would i go about copying all .jpg or .JPG files from a folder and all its subfolders to my /usr/name/pictures folder? I'm guessing I'd have to use some sort of .[jJ][pP][gG] to get all the pictures from other examples i've seen, but really not sure how to use that in a recursive cp.
View 14 Replies
View Related
Jan 19, 2010
I'm having a weird problem with GNOME. Inside a folder I have several files and when i open the folder graphically i can't see some of the files. If i use my terminal i can see those files. It's very strange!! I've rebooted my computer and the problem is still there (inside the same folder)
View 1 Replies
View Related
Dec 7, 2010
I want to move a simple .rules file from a downloaded package which I have extracted to my homefolder, to the rules.d folder. So I open both Nautilus windows and drag it over, and I get the great "permission denied" error
View 1 Replies
View Related
Feb 21, 2011
suppose I have a tree structure like this:
/home/mahmood/sim/a/b/file1.cpp
/home/mahmood/sim/a/b/file2.h
/home/mahmood/sim/a/c/file3.txt
/home/mahmood/sim/d/file4.txt
How can I copy all of them to /home/mahmood/sim. So that when I run "ls" in /home/mahmood/sim, I see all files:
file1.cpp
file2.h
file3.txt
file4.txt
Can 'cp' search for all file and copy them in another folder?
View 2 Replies
View Related
Nov 19, 2010
i want to copy the latest 10 files from one holder to another. All the files start with the number 2 and this is what i have so far:
lt -lt 2* | head -10
So i want to copy that output of 10 files to another folder
View 5 Replies
View Related
Jan 17, 2011
ok trying to use grip but it keeps giving me this messageCode:No write access to write encoded fileso i have a folder in my home folder called flac and i want to modify the folder so that all files within can be written toi have tried
Code:
chmod -R 777 flac/*
and
[code]....
View 9 Replies
View Related
Nov 21, 2010
I'm looking for some way to search a given directory, copy its folder structure to another given directory, and copy from the original only certain files into the newly created directory.Vague, I'm sure. But here's what I'm actually looking for:My music player won't display album art without a "cover.jpg" image in each folder where the files are, but I have Rhythmbox set to only copy the top rated songs. Each file does have its cover embedded in it, but there's also a cover.jpg in each folder.
So I'd like to let Rhythmbox handle the actual song copying, and then have a script or something that I can run that will scan my onboard music directory for cover.jpg files and then place them in the appropriate folders within my music player's folders. Obviously I can't just copy my onboard music directory, or I'm getting *every* song, not just the top-rated, which defeats the purpose of syncing at all.
View 2 Replies
View Related
Jul 8, 2011
I have to work in terminal but I don't know the command of copying files from one folder to another. e.g from /share/ParaDiS.v2.3.5.1 to /home/newfolder what should I type?
View 4 Replies
View Related
Feb 27, 2010
i accidently hit this command inside my /var/www folder. im screwed big time.I need to recover my files back. is there any chance ?
View 1 Replies
View Related
Mar 28, 2011
I do have an Ubuntu Headless server which is running Samba on it. My mp3 file collection resides on that server on is being share.
So far, no problems connecting to that drive and writing from my Windows box on that share. But if I use my main laptop, which runs Ubuntu Lucid and download an mp3 song from Amazon, the moment I move that to the share, I got permissions problems from the Windows machine. This is clearly a permission issue with group and others; the song is being created on the share without read and write permissions to others or the samba group I created.
My question is. How can I make this process simple or automatic, when moving songs to the share? I don't want to go there everytime and run ...
Code:
Which was basically how I reset or fixed the problem.
I've read about umask, but not sure if that applies here or not, because I'm not creating the file but moving it.
View 5 Replies
View Related
Jun 8, 2011
I have around 150+ folders in one directory. All contains some pdf files. Now i want to give some prefix no. to folder only not the files inside. How can i give the prefix to all my folders?Eg : Suppose i want no. 8562 then i want it like as follows
OLD FOLDER NEW FOLDER
ABC/ 8562-ABC/
AABC/ 8562-AABC/
View 2 Replies
View Related
Jun 1, 2010
Can I use sed to include a text file in the beginning of other text files inside a folder and its subfolders? So it should be recursive.
View 4 Replies
View Related
Jul 2, 2010
Is there a way to recreate all the folders from one directory to another without copying over the contents of the folder? I've been trying to do something like this,
Code:for i in `ls $X`; do mkdir $PATH/$i; doneUnfortunately $i is deliminated by whitespaces in the filenames and not the actual folders.
$X contains only other folders so I dont have to worry about regular files but any kind of more "advanced" solution would work.
View 1 Replies
View Related
Jan 8, 2011
I'm not positive if this is in the correct section but I am hoping so. I am running dual-boot with Windows 7 and Ubuntu 10.10. I hunted down my files from Windows that I need for school (old papers, research, etc.) and found it under "file system" --> "host" --> "users" --> "zbollman". I can access all of my files and I'm happy now that I don't have to boot between the two constantly to get what I need. However, I tried to copy the file to my home folder, but it said I do not have enough room. I'm about 5GB short. How do I go about allocating more space so that I can copy this folder so that all of my information is easily accessible?
View 5 Replies
View Related
Jun 9, 2011
I created a tarball with multiple files. The rpm generator requires those files to be inside a folder. I don't want to move the files before generating the tar. Is there a way to create this folder while generating the tar or after it?
View 1 Replies
View Related
Jun 16, 2010
I have Administrator rights. I want to create new folder into /opt directory. So i clicked(Right click). but new folder menu has disabled. I cannot create new folder. Then Alternatively I used terminal. then I type mkdir /opt/lampp/htdocs/dummy now folder name has created. but I cannot paste anything into my dummy folder. So I checked permission which has you are not owner. How to create new folder & copy contents to new folder.
View 1 Replies
View Related
Jan 21, 2011
I am trying to find a directory named 480debugerror nested under child directories. I don't know the exact path, or even if I have the exact spelling of the directory I ant to find.
Is there any linux command to find directories with a given prefix or suffix, for example directories with a name of debug or debugerror, with unknown some prefix or suffix?
View 3 Replies
View Related
Nov 12, 2010
I am trying to copy a (custom XML) file to a protected folder (namely /usr/share/games/FlightGear/Protocol) for data Input/Output.I tried copying and pasting the folders and it doesn't work. I realized that it is because only root user has the permission to do modification.So, I tried using "sudo cp" to copy the file. The file was copied, but the content now becomes unreadable when I tried to open the file
View 6 Replies
View Related
May 3, 2011
i will protect my folder so if someone want to copy that folder include container, he must enter right password first oh yeah i will store it in ntfs partition and backup in exsternal hardisk anywants how to do it in both of them, please share here because i already try to use permission but it's failed
View 1 Replies
View Related
Jun 6, 2011
I've ran into a pickle regarding permissions and ACL. My users has a folder called "UVdokumenter", in wich they want to put documents up for sharing and editing. Everyone needs to be able to edit the files in that folder, so i set the ACL to this:
Code:
# file: UVdokumenter/
# owner: fleten
[code]....
View 4 Replies
View Related
Oct 5, 2010
How can i compress to .gz my folder public_html:
media/sda7/user1/public_html/
I want all files and folders and subfolders and images and everything inside of public_html. Also to be saved on the same folder so i can find it easy How can i do it?
View 4 Replies
View Related
Dec 22, 2010
I've some virtual desktop. Iǘe some folder views in one on the desktops wich i would like to appear on the others, is there a way to copy them
View 3 Replies
View Related
Nov 20, 2010
i want to do it via graphical interface (for ease of access) but i can't write in the backgrounds folder because i don't have permissions to do so. although i made my account part of the administrators group and loged on again. so basically, i need to have full control of my machine logged on with my user, i don't care about security at all. How?
View 6 Replies
View Related
Jul 4, 2011
The problem is i have to copy folders from network into the RHEL server. When i am copying i can copy the folders and documents which do not have a sub folder. But the folders with subfolders is not getting copied. How should i do it?
View 6 Replies
View Related
Jun 10, 2010
I'm using fedora 13 to connect to my server's share folder(windows server 2003) and i found that i can create folder,create file, access and open or delete the file in the window share folder, but i can't save or replace the file in the share folder. the error message is like below...there are error copying file into smb://path/folderShow more detail:
Invalid argumenti also have attach the pictureby the way....i had disable the firewall and selinux already....but still can't save the file into the window share folder.previously i use fedora 11 and all is ok with no problem, but the fedora13 got this problem, please tell me what cause this happen?
View 2 Replies
View Related
Jun 23, 2010
I did it on a friend's desktop and it worked a treat. All her settings, passwords etc... remained.
Is there any catch to doing this or is it that easy?
View 4 Replies
View Related
Feb 14, 2010
I've discovered that Dolphin seems to lose random files when copying many large folders.
I first noticed this a few months ago when I tried to copy my music library from one folder to another on the same HDD. It consisted of around 600 folders and 6500 files. During the copy there were no errors but after the copy I found that some of the newly copied folders were missing files. I put it down to human error or a glitch.
Yesterday I tried to copy 13 folders containing rips of some of my DVDs. Each folder basically had one film of either 700MB or 1.4GB. Again no errors showed up during the copy but I found 3 of the newly copied folders were empty.
It's not so critical with music or films but I can't afford to lose work data like this.
Has anyone experienced or seen a similar problem with Dolphin? I'm going to have to do some more extensive testing but this is not good.
The first time I noticed the problem I was running KDE4.3.4 (I think) and now the latest was with KDE4.4.0.
View 9 Replies
View Related
Mar 24, 2016
This my scenery:
1 pc windows 7.
1 pc linux debian jessie.
From jessie, mount a share folder in windows 7, in this way: mount -t cifs //windows7/sharefolder /mnt/windows7 -o user=pychi,password=mypass,uid=pychi,gid=pychi
And work fine, the user pychi and root, copy to windows share folder perfect and fast, but the big problem is:
when i copy a big folder, example 40 gb, after 30% or similar, stop the copy, and this is a list of different errors:
- It's not possible change file proprietary on destiny.
- not enough space
- can't fix attributes, date, time, proprietary, group.
View 0 Replies
View Related
Nov 28, 2010
How can I search for one 6 letter word throughout all of my Ubuntu files?
Sounds simple but I've not found what I'm looking for. The bottom line is that I am wanting to clean up a file association in mime. I would have had more success if I were searching for this under XP. I must be doing something wrong.
Since I trialled a commercial company's map product under Wine somewhere in my system is still their name. Any gpx file I choose to download and the company's name appears in properties. Ggx files are also associated with Wine whilst an untainted PC in the house just has "Browse" as an "open with" option.
First things first, how do I find and delete this commercial company's name totally from any part of my system? How do I find their name in one or more of my files?
View 9 Replies
View Related