Fedora :: Stripping Folders From Files?
Oct 22, 2010
I have 70 folders as an output form some software they are called folder1, folder2 folder70. I want to find a way to automatically copy the contents from each folder to one big folder? So all the files are in one folder without the directories? I was thinking of something using the mv command but I'm not sure how to do this. Ok I think I have answered my own question. I did this:
# cp folder*/* bigfolder
I used cp in case it went wrong, it worked so I deleted the previous dir's.
View 2 Replies
ADVERTISEMENT
May 14, 2011
I feel like this is probably a dumb question but regardless, I don't know the answer and my eyes will start bleeding if I keep trying anymore. How do you move files between folders? Dolphin's layout (unless I'm not figuring it out, which is probably the case) doesn't seem to let you drag from one folder to another and there's no other pane to see another folder to drag to.I have an mp3 file in my download folder that I want to move to my music folder but I can't get it to move.
View 1 Replies
View Related
Mar 18, 2010
How do I get it to play movies? It needs all kinds of codecs apparently. Is there a good source for these?I'm running Ubuntu on another machine. How do I connect to THAT?I was able to use samba in Ubuntu to connect to my windows network. Will that work to connect Fedora and Ubuntu?I get this when I try to use sudo in terminal.is not in the sudoers file. This incident will be reported.How do I fix that and how can I log in as root? It won't accept my password even though I know it's right.
View 10 Replies
View Related
Jul 23, 2011
I'm using fedora 15 64-bit. Today i was prompted to install some updates, most of them are related to mesa driver updates. Once installed those, I rebooted the system. After login again, i couldn't find any of my files or folders. The hidden files & folders are remain there but rest all were gone. Now my account looks like newly created one. All of my important documents are missing.
View 6 Replies
View Related
Feb 11, 2011
I need to change folders to 775 and files to 664 recursively, but this bash does not has find command (?). How can I change them recursively?
View 3 Replies
View Related
Aug 11, 2009
How to sharing files and folders in fedora?
View 5 Replies
View Related
Mar 31, 2010
I have a separate data partition on my F12 box with one dir for my children and subdirs for each of them. because they had no rw- rights and because they sometimes use one of the other logins to work for school I changed the permissions for their dir so that anyone has access. I used
Code:
# chmod -R 666 [their directory]
after that Nautilus displayed an empty folder even with 'show hidden files' on.however, with
Code:
ls -lh
on the dir and subdirs all the files seem to be present (luckily).
1. what did I wrong?
2. how do I get the files back using Nautilus?
View 6 Replies
View Related
Aug 8, 2011
I m able to do the changes in the home directory of the users' but when it comes to the /var/www/html folder, it's not allowing to do any changes/create the files or folders
I m able to view the files and it's contents
Global Settings:
View 4 Replies
View Related
Feb 28, 2010
I am trying to install Fedora 10 on an old P3 Inspiron 5000. When I boot from the Live cd the screen is split into three sections and is hard to navigate. I am able to edit the /etc/X11/xorg.conf file and log out and log back in to proceed with the installation. The problem is when I finish the installation and reboot to the new OS it boots to the triple section mode again because my xorg.conf is not edited. To do any commands in Fedora I need to get through a brief user setup in which I cannot navigate through until I can see the screen better. Is there a way to boot to a graphical type safe mode so I can see the whole screen to finish the installation?
How can I access folders from the live cd to edit the installed files? This way I can edit the xorg.conf file before booting and all would be legible.
View 6 Replies
View Related
May 25, 2011
I am an Ubuntu refugee. Allow me to explain what happened. I am dual booting with Windows 7 and F15 x64.
(1) I wanted to created a shortcut of my "Documents" folder in my Windows in Nautilus
(2) I opened the Windows drive by double clicking the drive under Devices, and navigated to my "Documents" folder (F15 already has ntfs-3g installed so no hassles there)
(3) I then dragged the folder to the sidebar to place it under the Trash icon--but for some reason, it would not let me do this, and accidentally got placed in the Trash bin.
(4) problem is I can't see this folder in the Trash bin (it is not even hidden)
(5) To check if the Trash bin actually captures items when we move files/folders to Trash, I tried sending a folder from my Home directory to Trash, and the folder appears in the Trash; it can even be restored to Home.
(6) Only files/folders from the NTFS formatted Windows drive do not appear in the Trash folder if sent there.
(7) I have Google searched this problem, but to no avail.
(8) I even thought that because the drive is not mounted 'officially' I would mount it using command line:
Code:
(9) But still I can't see the folders in the Trash
(10) Interestingly, when I try to unmount the Windows drive 'formally' then I get a message if I want to "empty the Trash"--I obviously chose not to--so I know there is my Windows Documents folder in there somehere.
View 2 Replies
View Related
Aug 15, 2010
I'm trying to make a webpage that will display the bash variables I have in a file. These variables are used in a bash script that is run from on my server.The file looks like this:
SERVER=canfs01
SHARE=public
USERNAME=guest
[code]....
View 7 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
Jul 20, 2011
I have noticed that the files and folders search in Unity, only shows up those files which have been amended (or possibly just opened) since the install.
i was wondering if there was a way i could have the search index (or something vaguely equivalent) all the files on my machine. This is especially important given that i reinstall the OS every six months on a new distribution cycle, copying all my old files across.
Without being able to see my old files the search is pretty much reduced to a recent history search.
View 3 Replies
View Related
Oct 11, 2010
I found this command that works great finding and replacing a simple string to another in files located in that folder and all sub-folders.
Code: find . -name '*.php' | xargs perl -pi -e 's/OldText/NewText/g'
The problem I have is that I need to replace a more complex string, like this: Old string: /mnt/stor6-wc2-dfw1/627896/982574/ New string: /mnt/stor8-wc2-dfw1/369587/302589/ There I don't know how to do it... since the / is what separates the old from the new strings, and the strings that I want to replace have / in it. Also, I would like to know how to specify under what folder replace the files, for example, I want that it search/replaces all files under /var/www/mysite/htdocs folder.
View 1 Replies
View Related
Jan 25, 2011
I just got 512M RAM so i thought to switch off all the programs that i most likely will not need. The big ones, i think might be, gdm, gnome, metacity. I think a plain X will suit my purpose.
View 10 Replies
View Related
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
Mar 19, 2011
I just tried creating a raid Device which has both stripping and mirroring i have done as below Quote:
mdadm -C /dev/md00 -l1 -n2 /dev/sda7 /dev/sda8
mdadm -C /dev/md01 -l1 -n2 /dev/sda9 /dev/sda10
mdadm -C /dev/md02 -l0 -n2 /dev/md00 /dev/md01
pvcreate /dev/md02
vgcreate volgroup02 /dev/md02
lvcreate -n orac -L 9G volgroup02
[Code]...
Everything is fine until here but after reboot the device wont mount on /orac it says special device not available i found that that md02 device is not in active state
i tried deleting it and recreating it but no use still it wont persist a reboot
View 1 Replies
View Related
Mar 15, 2010
I have looked inside and out of KMail, and for the life of me, I cannot seem to find out how to make KMail maintain HTML formatting and keep the images when REPLYING to sender or FORWARDING an email to another or others. Does anyone know a tweak to make KMail Replies and forwards to stop convert everything to plain text and strip the images? I live in a family where we all share parody, etc. emails, and plain text rarely ever cuts it. I did not suffer such with Thunderbird.
View 3 Replies
View Related
Feb 23, 2011
I would like to remove almost all of the Privacy Evading data that a digital camera is generating, such as EXIF DATA. EXIF DATA: Camera Brand, Camera Model, Date taken, Exposure Time, Flash Fired, Focal Length, Location (if you are using iPhone with categorization by location, if enabled), Metering Mode, etc.
May you, please, write a script which does that job for multiple files?Exiv2 seem to reduce more weight than Jhead so I'll use the command exiv2.That's, generally, what I want the script to do:Retrieve the (Modified) date of a file.
View 3 Replies
View Related
Dec 22, 2010
I can find points to Tillies Garrels TLDP reference. Do I want to create my own variable to hold the string or do I want to place the string in memory? Is that my problem? Or is something different causing the 'bad substitution' error.
[code]...
View 14 Replies
View Related
Feb 19, 2010
A couple of months ago, I upgraded from OpenSUSE 11.1 w/Gnome desktop to 11.2 w/KDE desktop. While I generally like the refinements of KDE, there is one aspect I absolutely detest, and that is the apparent inability to work with files and folders directly on the desktop as one does with Gnome or Windows or Mac OS.
While file manager applications like Dolphin have their uses,I generally find them to be cumbersome compared to being able to drag and drop files and launch applications directly from the desktop. In this respect, I feel as though I have reverted to the functional equivalent of Win 3.1. Is there a way to enable access to folders and files on the desktop in KDE or do I need to revert to Gnome?
View 3 Replies
View Related
Oct 22, 2010
After stumbling across how to do this, then losing it and only after a long search finally re-discovering this little documented feature, I've decided it's likely worth posting.
Basic Concept of Hidden Files in Unix
In Linux filesystems, anything with a leading period (files or folders) is considered to be hidden and viewable only with an "all" option using whatever utility to list the files. Unfortunately, this may not be sufficient to clear the clutter in today's world.
KDE enhanced hidden file support, Why
As a Desktop that sits on top of Linux, KDE supports the basicLinux hidden files/folders convention using the leading period in applications like File Managers (eg Dolphin).
But, what about other files? An example of another file type a User won't likely want to list is the backup file that is created with a trailing tilde (~) whenever a document is modified. This would especially be true if files are dropped into the Folderview widget on the KDE Plasma Desktop, potentially up to half of all the space would be occupied by these undesirable files.
In KDE, you can now hide any definable filetype, re-claiming space and making file/folder listing more efficient.
KDE enhanced hidden file support, How
This feature seems to be hidden in a corner and not configurable in any main file management tool like Dolphin or the KDE management utilities and so far I haven't found it in Google, the KDE website or any other place.
It's only configurable in the KDE Folder Widget properties.
First, unlock widgets on your Desktop if necessary (Is unlocked by default).
1. Either rt-click in the open space of an existing Folder View Widget or add a new Widget to your desktop by
Rt-click desktop > Add Widgets > Folder View Widget (Drag to Desktop) > rt-click on empty space in new Folder View Widget >
2. After rt-clicking on the Folder View Widget, select Folder View Settings
3. Modify Location to point to one of the three location types... The Desktop folder itself, a pre-configured (by KDE) "Place" or a custom folder of your choice. The first choice is OK if you don't already have something else in mind and you just need one Folder View.
4. In the Navigation Pane on the left, click on "Filter."
5. In the top dropdown, select "Hide Files Matching"
6. In the bottom "File Types" input box (Not the middle box), type your pattern in my example the tilde (~), and you will see the backup file type already defined.
7. Make sure the backup file type is checked, and click "OK" which saves changes and closes the Folder Settings window.
8. Check your nandiwork. Drop a new file if needed into the Folder View Widget, modify the contents and save. Open your KDE File manager to the location of your Folder View Widget and list the contents. In both cases you should not see your backup files unless you select the option to view hidden files.
When you've finished modifying your Desktop's widgets, don't forget to lock the widgets to guard against accidental loss.
View 7 Replies
View Related
Aug 31, 2010
Is there a way to add files/folders to a tar file?
I am using the tar command for compression.
View 2 Replies
View Related
May 20, 2010
I am trying to find out how to search for folders that do not contain certain files. My music collection of 20+GB a is organised into folders (Artist-Album). I would now like to ensure that every album folder contains the respective cover art image as a cover.jpg file. Quite a few do already, but many don't. So I would like to find all folders (not files) that fulfill the following criteria:is a subfolder of /home/user/Music;
Does not contain further subfolders (i.e. don't want to find artist folders);
Does not contain a file named cover.jpg.
View 6 Replies
View Related
Apr 12, 2011
What I've noticed recently in file managing is that sometimes one file might fit multiple categories yet you must fit it into just one (without linking the file). It is most essential when managing an ebook library or a project library (for example have I placed a particular script under PHP_Scripts folder or CMS folder... I tend to forget).
What I'm looking for is a Tag categorization type of management for files. The PS3 file manager is a good example for this since I could make it generate folders by the artist's name, the year etc. for music files, then I would just navigate to the particular folder to find what I was looking for. Now my question is if such thing already exists as a nautilus extension or as a stand alone application... If not would you guys think it would be worth creating? If you do should it be approached as:
* A Nautilus extension? * or as a python script? For example one that creates a folder with folders in it, made up from the [nautilus] tags of the files you want to browse, then creates links of all the files [you wanted to browse] automatically to the appropriate tag folder[s] generated.
View 3 Replies
View Related
Jun 8, 2011
I have been trying the dual boot (windows 7 & Ubuntu 11.04) I like natty and want to get rid of windows but of course want to keep my files and folders. Is there simple way of dong this?
View 2 Replies
View Related
Jul 26, 2011
Although I've been using Ubuntu for a while, I haven't really done any scripting thus far,but now find myself needing to do (what I thought was) some fairly simple stuff.However, despite much searching, I have been unable to find a solution to my problem.I need a script which will delete all of the files/folders from a directory except those I specify. From the command line, I am able to use:rm -r !(constant|system|*.msh|)
which works fine, deleting everything except the 'constant' and 'system' folders (and everything in them) and any files ending in '.msh'. I have tried to put this into a script file, specifying to use the bash shell, and escaping the required characters, but I just get the message 'cannot find !(constant|*.msh)'.I have read that using the find command may be a better way of doing it, but so far I have not been able to make the command work in the way which I need (I have easily been able to delete ALL the files/folders in the directory!).
View 1 Replies
View Related
Jul 27, 2011
Ive been trying to figure out a method to upload (copy) all files and sub folders under that folder to my content delivery network, basically run it every 30 minutes.
Whats the best way to do it? I tested a few that I was reading about, one just copied files nd not sub folders, another moved all files.
View 2 Replies
View Related
May 8, 2010
I have a directory (let's say A) with a few hundred files and subdirectories and a copy of this directory (let's say B). All the files and subdirectories in B have a newer date than A. However only a few of them are really changed files. Is there a way to find those files and directories? Basically they have different sizes so this could be used to compare them with the files from A.
View 3 Replies
View Related
Nov 18, 2010
how to access files and folders on alive computers on my college LAN,i hv angry ip scanner installed but it only lists the computers on lan,whereas i want to access files(e.g copying,etc) on others computers(in the same way we do in advance ip scanner in windows). i am using ubuntu 10.04 LTS
View 1 Replies
View Related