Debian :: Rm (remove) Many(similar) Files In Many Different Directorys?

Mar 22, 2010

i have a lot off windows - thumbs.db files om my Debian Apache server.How to remove all (without define all directory's)Is there any way with RM?- or maybe some other smart solution to do it?

View 8 Replies


ADVERTISEMENT

Programming :: Bash Script To Find And Remove Similar Lines From Multiple Files?

Jun 5, 2009

I want to remove duplicate or multiple similar lines from multiple files. I.e. if I have four files file1.txt file2.txt file3.txt and file4.txt and would like to find and remove similar lines from all these files keeping only one line from these similar lines. I only that uniq can be used to remove similar lines from a sorted file.

View 9 Replies View Related

OpenSUSE :: Access The Others Directorys And Files?

Sep 4, 2011

I have created 2 users in Opensuse 11.4 but when logged on as either I can access the others directorys and files, how can I encrypted these so a user cannot access the others files.

View 2 Replies View Related

Ubuntu :: App Or Script That Finds Directorys & Files With Spaces?

Jan 4, 2010

i need an application or shell script that can identify all the directories and files in a certain directory and can rename them to remove any spaces in the filenames.anyone know of anything that can do this?

View 9 Replies View Related

Ubuntu :: Add / Remove Programs And Update Manager - Similar Error

Apr 30, 2010

In both of these areas, when I actually go to "Install" the things, whether it be adding or removing programs, or doing the Update Manager, I get the same error as soon as I click "Install," and it fails to install any selected programs/updates.

Here is the following error:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
I have not been able to find this "sudo dpkg" file to manually run.

View 2 Replies View Related

Ubuntu :: Bash: Compare 2 Wav's Files If Similar

Dec 20, 2010

I would like to compare them, in terms of amplitude, length, tempo, ... Which program could basically analyse them giving an sufficient output data

View 2 Replies View Related

SUSE :: Command To Compare Directorys ?

Jun 17, 2010

A long time ago I came here with a query about comparing directory structures so that I could ensure I had 2 copies of all of my mp3's - 1 in high quality and 1 in portable quality. The original thread is here [url]

Now time has moved on I have begun to encode to flac, and I want to find and delete any mp3's that I now have as flac.

The problem is, the file names are not always identical AND the extensions are different, meaning the command in the previous thread doesn't get me very far.

The music is stored in the format of /home/music/mp3/Artist/Album/ and /home/music/flac/Artist/Album/ if I could just get a list of all the "album" subfolders which are duplicated I could work the rest by hand.

View 2 Replies View Related

Debian :: Duplicate Files In User Library - Safe To Remove Outdated

Feb 8, 2011

I have just upped from lenny to squeeze. I didn't mean to, really, but the package manager was well into its stride by the time I realised what was happening. Mostly all went well, BUT /usr is now 100% full. I notice that there are duplicate files in /usr/lib, eg Oct 11 22:35 libgcj.so.10.0.0 and Sep 14 2008 libgcj.so.90.0.0 (I assume the latter has been replaced by the former?). Is it safe to remove the "outdated" lib files? Is there an elegant way of doing it?

View 4 Replies View Related

Ubuntu Servers :: Add Some Directorys For Private Use (to See How It Works)?

May 14, 2011

I would like to accomplish: 1. Users to have access to their own Share on the server, no one exept the user shall be able to browse, read/write. (sould the user directories be in /home/<username> folder or shall one use another structure?

2. There shall be a public are where all users can browse, read and write. no guests, only users who have accounts!

3. A GroupShare. Users who are members of group Staff many browse, read/write.

4. Add some directorys for private use (to see how it works)

So would this be correct: Create the Directory Structure on the server:

Code:
# mkdir /usr/smbroot
# mkdir /usr/smbroot/users
# mkdir /usr/smbroot/public
# mkdir /usr/smbroot/groups/staff
# mkdir /usr/smbroot/private/fredrik_extended
or shall one use the default user shares /usr/<username>/?

[Code]...

View 1 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

Debian :: App Similar To Kalarm For Gnome?

Jul 10, 2011

Trying to get time and date based notifications to appear on my screen. When I was running kde, kalarm worked great for this. Now I'm running gnome. Tried osmo but the dialog for setting up recurring events represents a tale told by an idiot.

Tried running a batch script via cron and dialog. The script runs but the dialog message doesn't appear on my screen.

View 14 Replies View Related

Debian :: Wallpaper That Is Similar To The Image In The Home Page

Jul 25, 2010

Where can I find the wallpaper that is similar to the image in the Debian home page. Not the one in the smaller windows (in the image), but the part of the image which has "The universal operating system" written.

View 6 Replies View Related

Ubuntu :: Remove All The Files On The 10.10?

Oct 30, 2010

i recently had a problem with the Ubuntu 10.10 installation, so what I did was that I reinstalled 10.04 on another side of the hard disk partition.

Now i want to remove all the files on the Ubuntu 10.10 and also remove the boot screen that comes up asking me to choose.

View 3 Replies View Related

CentOS 5 :: How To Remove Files Under 2mb

Feb 18, 2010

I need to know how to remove all files under 2mb on directory: /usr/mymusic

View 3 Replies View Related

General :: Remove Files Which Have A Certain Syntax

Jan 23, 2011

I have a couple of files which follow this syntax:

*_yyyy-mm-dd_hhhmmm.*

Example:

*_2010-01-01_00h10m.*
*_2010-01-01_01h10m.*
*_2010-01-01_02h10m.*

[Code].....

and delete the others. or maybe move them to a subdirectory to be safe...

View 2 Replies View Related

Ubuntu :: How To Search And Remove The Files

Jan 20, 2010

Recently one of the worm is spread in our network & so many unwated files are getting copied on our ubuntu file server like comment.htt, desktop.ini, winfile.exe Now we have clean that worm from our network but few files are remained on ubuntu server as well as in backup folders and i want to search those files and delete it.

View 1 Replies View Related

Ubuntu :: Remove All Files From Directory Except Some?

Jan 31, 2010

I am still a novice with Ubuntu and I am trying to write a shell script which will clean redundant files. I am stuck with one line where I would need a command which will remove all files from directory except some of them. Can anyone please advice how to add such an exception to the rm command? I have searched some bash shell tutorials, however, no joy. Guess I have overlooked something.

View 9 Replies View Related

Ubuntu :: Remove Select Files From Dir?

Jun 3, 2010

So I'm trying to remove or move any files that are not mp3 or ogg from my music folder with the command rm -r *.jpg and I keep getting the message that:rm: cannot remove `*.jpg': No such file or directory{I'm trying to remove jpegs}

View 4 Replies View Related

General :: Unable To Remove Files Using Rm -rf *?

Jun 22, 2010

Output of my terminal:

linuxx86:110$ rm -rf *
rm: cannot remove `dttscopeger.dir/.nfs00000000012821280000ec25': Device or resource busy
rm: cannot remove `dttscopeger.dir/.nfs00000000015561050000ec26': Device or resource busy

[code]...

View 6 Replies View Related

Hardware :: Remove Files Are On A Video DVD?

Dec 12, 2010

I installed Ubuntu 9.10 along with XP.When I opened one drive from XP as File System (as Ubuntu OS takes on) on the top of the drive "These files are on a video DVD Open Movie Player" like captioncoming but on other XP drive this does not occurNow I wish to what this is what this means How toremove this caption from drive being displayed

View 1 Replies View Related

General :: Remove Directories That Only Contain .txt And .log Files?

Aug 8, 2010

I'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]....

View 13 Replies View Related

General :: Remove Temporary Files?

Apr 11, 2010

me with proper syntax / command to remove temporary files in linux

View 9 Replies View Related

Programming :: Remove All Files From A Directory Which Are 24 Hr Old?

Apr 8, 2010

I was preparing a script which will remove all my files from directory which are 24 hour old.I tried some thing like thisfind . ( -name 'log.*' -mtime +1 ) -exec rm {}; but it is throughing error like : missing argument to exec.

View 8 Replies View Related

OpenSUSE :: Remove Wine + It's Files And Setting?

Apr 2, 2010

How do I remove wine + it's files and setting?

View 5 Replies View Related

General :: How To Remove All Files That Created N Minutes Ago

Mar 4, 2010

I guess in most cases when extracting a tar achive ,we will get a directory with the same name as the archive file but different suffix. but in some unlucky case, as I met today, after extract a tar bar I find lots of files spread in the working directory, which is really nuisance.so what I want to learn from you is that how can I move thoes newly created files ? I know it should be some "find plus rm" fancy approch there, but I don't know exactly how.

View 3 Replies View Related

General :: Remove All The Files Which Has A String In A File?

May 8, 2010

I am trying to remove all the files in a directory hierarchy which a certain string inside the file (not the file name, it is the file content).

I can list out all the file name which has a string in the file using 'grep -r -l mystringlooking for'.

But how can I remove all the files returned by the grep ? I am trying this on ubuntu.

View 1 Replies View Related

General :: Remove Files In Remote Host Using Ssh?

May 25, 2011

I need to delete all files inside remote directory using ssh P.S. The directory must not be deleted, so @Wes answer is not what I need. If it would be local dir, I would run "rm -rf dir/*"

View 4 Replies View Related

Ubuntu :: Remove Or List Orphaned *files*?

Jan 20, 2010

have installed some programs from source and found no trace where and what were installed and I would like to remove those installed files. So I am looking for any script or app to list all orphaned (I mean not related to any installed package) files. I am using Ubuntu Server 9.10 without any fancy X11 stuff so console version is preferred. I have found bitbleach and computer janitor in this forum but they are X11 apps.

View 2 Replies View Related

Ubuntu Installation :: Where Does Add/remove Saves The .deb Files

Mar 10, 2010

i am using ubuntu 9.04 jaunty. i want to save the .deb files of the applications i have installed. now the synaptic package manager saves the .deb files to /var/cache/apt/archives . but where does the add/remove saves the the .deb files?

View 7 Replies View Related







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