Ubuntu :: Find Folders That Do Not Contain Certain Files

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


ADVERTISEMENT

Programming :: Command For Find/Replace In Text Files (inc. Files In Sub-folders)?

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

Ubuntu :: Find Hidden Folders And Files?

Mar 29, 2010

how could i find a hidden folder so that i can update a file.

View 3 Replies View Related

Ubuntu :: Find By Typing / Files And Folders?

May 16, 2011

The "find by typing" feature in Unity, as far as it concerns files and folders, is rather limited. Is there a way to specifically add a directory to the places where this feature is looking? (where is it looking anyway? most of my documents don't show up, even in my "home" directory...

View 2 Replies View Related

General :: Bash: Find Folders With Less Than X Files?

Sep 18, 2010

How would I go about finding all the folders in a directory than contain less than x number of .flac files?

View 2 Replies View Related

Applications :: Find Duplicate Files In My Folders

Jul 2, 2010

I have found some duplicate files in my folders. Is there a way to clean them out?

View 2 Replies View Related

Server :: Find And Unzip Selected Sub Folders In Tar.gz Files?

Nov 4, 2010

There are few hundred tar.gz files each having several sub dirs in them (ex: ftp_server1_logs, mail_server2_logs). However the main tar.gz files (ex: 20101001.tar.gz) does not contain all sub dirs every time (ex: 20101001.tar.gz may only contain some ftp server log dirs etc..)

what i have to do is find the tar.gz files that contain a specific type of log type (ex: ftp logs) and extract all logs to a single folder (ex: ftp logs)

View 1 Replies View Related

Ubuntu :: Unity Files And Folders Search Doesn't Show 'old' Files?

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

OpenSUSE :: Dolphin Losing Files When Copying Many Files Or Large Folders?

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

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

Ubuntu :: Find Folders Not In Favorites In Unity?

Oct 16, 2010

I'm trying to get to grips with unity. Today I wanted to look at the "Ubuntu One" folder, but it doesn't appear in the list of favourites. So how do I find it or how do I home the /home/user folder using the Files & Folder link from the unity launcher.

View 1 Replies View Related

Ubuntu :: How To Find / Delete Unused Hidden Config Folders

Oct 12, 2010

I recently moved to a new machine, and I copied my entire home folder across. This included lots of hidden (starting with '.') folders, and in many cases they are config folders for packages which I have not installed on the new machine. They are taking up space, so I would like to delete them, but to go through manually and figure out which ones I need would be very laborious. Is there a way to find, and perhaps delete, config folders for packages that are not installed?

View 2 Replies View Related

General :: Directory - Find Folder Inside Sub Folders

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

General :: Cannot Find Win7 Folders From Samba Network

Dec 26, 2010

I could not find the windows 7 folders from Samba network

View 1 Replies View Related

Ubuntu :: Managing Files Like PS3 With Tag Folders?

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

Ubuntu :: Getting Rid Of Windows 7 But Keep The Files And Folders?

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

Ubuntu :: Delete All Files/folders Except Those Specified?

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

Ubuntu :: Auto FTP All Files And Sub Folders?

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

Ubuntu :: Where To See When Files And Folders Were Created On System?

Jan 18, 2010

I can't figure out where to see when files and folders where created on the system. All I can see in Gnome and the terminal is the modification time. I also want to see the last access time.

View 2 Replies View Related

Ubuntu :: Cloning Or Echoing Files And Folders

Jan 27, 2010

I need to backup my data through the cloning or echoing option, which means I want to have my new files/folders in the left copied to the right, replacing older files if that's the case, but I also need the deleted files and folders on the left to be deleted on the right.

I'm using Conduit right now, but it doesn't clone folders/files, also tried Synchrorep but the same issue. Should I try Unison or Rsync? Will they offer this option? Other options?

View 3 Replies View Related

Ubuntu Multimedia :: MediaTomb Can See Folders But Not Files?

Mar 14, 2010

I have been using media tomb for a long time now to stream HD movies to the PS3 , its worked perfectly....until now . I use MKV2VOB so the PS3 can play the video and so mediatomb has no transcoding to do. But now when i add the video to the media tomb database the PS3 finds the server, can search through all the folders but when i arrive at the place where the movie should be it says there are no videos. I have been looking about and trying to see what the problem could be. I have checked that <protocolInfo extend="yes"/> is added to the server config file and thats about all i can find on the problem. The thing i don't understand is that i have changed nothing, and that the server must be running as i can search the folders etc.

I am running Ubuntu 9.10 and mediatomb v0.12

View 1 Replies View Related

Ubuntu :: Recovered Files / Folders From USB Are Locked?

Apr 15, 2010

I have recovered most of my USB drive, but a couple of folders are locked and look like files. I'm unable to change permissions on them and "You are not the owner so you cannot change these permissions." appears in the properties tab. The owner is "184444735 - user #-184444735" and the group is "17414907" which makes no sense to me. Most other folders and files are OK. The disaster I recovered from was a partition move that failed. I used fsck to get most things back. Any idea how I get these couple of folders (the most important one is one of them "Documents" of course). to be visible?

View 3 Replies View Related

Ubuntu :: Save Files And Create Folders In Var/www?

Apr 28, 2010

creating a new website project in the var/www folder. I open jedit and try to save a folder or file inside var/www using jedt and it refuses to let me create or save anythink in the var/www directory.

I have used the terminal to create a new folder and file inside the var/www directory and when i open the file with jedit or gedit and write some code into it it wont save the code either. I am used to just creating a new directory and saving files into it with ease using windows so this is puzzling me a little. I also installed lamp server through the terminal and the phpmyadmin folder installed somewhere different from the var/www file.

View 6 Replies View Related

Ubuntu :: Unable To Add Folders / Files In Localhost

Jul 1, 2010

I try to add a folder to my localhost folder on my cpu yet it doesn't allow me, saying I don't have perms? How can I fix this?

View 1 Replies View Related

Ubuntu :: NTFS Folders But Not Files Appearing?

Jul 6, 2010

I recently had a Windows Vista laptop crash and burn because of some damage done to all the lovely files Windows cannot boot without. Since my computer cannot boot from USB normally I used PloP Bootmanager to get it to boot from a live Ubuntu image on a USB stick.Before I install Ubuntu, I want to recover some of my files sitting on the disk, and the partitions seem to mount in the GUI- I can see them, I can click mount or unmount and it responds. The trouble is that while I can see all of the folders on the Windows partition: Program Files, Documents and Settings, etc. I can't see any of the actual files. The disk itself is reported to have data on it- even Ubuntu recognizes it's almost full, but every folder has 0 files with the exception of /media/[A particular character string] which has three boot-related files. This is true whether I use bash as root or not. I've tried mounting to a different point and remounting via the terminal using ntfs-3g and editing the fstab file to recognize the parition with full permissions, but nothing seems to work.

View 5 Replies View Related

Ubuntu :: Gnome-do Performance On Folders And Files?

Aug 16, 2010

I have a very simple question concerning gnome-do. I have configured to search for folders and files, starting from my home directory and going deep up to 20 directories.

The program gives me a message that it is indexing too many files, I guess it is giving up? it basically do not find some of the files/folders I try. the version is 0.8.2 for ubuntu 9.10

View 8 Replies View Related

Ubuntu Security :: All Files And Folders Are Read Only?

Sep 6, 2010

I've recently upgraded to 10.04 and have noticed that all the files or folders I've been creating recently are read only. I can manipulate the folders on my ubuntu system itself and create new entries, folderes, subfolders, and save files. IE a payment receipt in pdf format. However if I then try to move or copy any of these to my DROBO (data storage device) the file gets the LOCK Icon on it and becomes read only. If it is a subfolder I can no longer copy to it and if it's a regular file, say a pdf or flv I can't modify it. Attempting to change the file permissions on either my ubuntu desktop or any other folder works but once it goes to the drobo I lose the ability to change it off of ---. Again, this was all working fine before doing the upgrade to 10.04. Yes I did do a clean install to 10.04.

View 6 Replies View Related

Ubuntu :: Make Files And Folders Hidden?

Oct 1, 2010

is there any way to make files and folders hidden?

View 3 Replies View Related

Ubuntu Networking :: Share Files / Folders Using CLI?

Oct 8, 2010

I want to share certain files/folders with other computers in the network. Now I know how to do this in two ways: using the GUI and modifying the smb.conf file, but the GUI may not be available (e.g. connecting to the server using SSH) and the smb.conf file takes a little bit of time to modify (and from what I have noticed by using the GUI, the smf.conf file does not get modified). Is there a way to share files/folders using only the CLI and without the need of modifying files?

View 5 Replies View Related

Ubuntu :: Desktop Folders - Files - Everything Vanished

Oct 25, 2010

I tried to find a solution on the forum after my Desktop folders, files, everything vanished. What I've got now is "Standard Icons", Home, Pics, Videos, etc.

I tried to locate files via SEARCH on FILE SYSTEM and I couldn't find any. I tried to reset Nautilus and nothing happens. I have a different profile in this Laptop and that profile is UNCHANGED, but mine is screwed.

I'm getting a bit desperate because I have an exam tomorrow and I NEED to access those files.
I Use Ubuntu 9.10, Desktop edition.

IF I TYPE NAUTILUS THE FOLLOWING MESSAGE COMES ON TERMINAL

View 3 Replies View Related







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