Ubuntu :: Program That Finds Oldest Files?

Sep 22, 2010

got a whole lot of video files spread among 100's of folders, wondering if Linux has a program that can scan the modification and view dates of them all, and just display what's been accessed most recently.

View 4 Replies


ADVERTISEMENT

Ubuntu :: Program Finds Files Deleted And Restores Them?

Jan 15, 2011

I accidentally permanently deleted a few files and I was wondering if there was a program that finds the files that were deleted and restores them?

View 4 Replies View Related

General :: Creating A Script That Removes The Oldest Files On /tmp Directory?

Nov 17, 2010

I'm trying to configure a script the deletes the file and directories with more than 10 weeks on my /tmp directory, this is what i'm trying to do:

Quote:

#!/bin/bash
#Script para borrado de ficheros y PDFs de /tmp
### Directorios/PDFs a borrar

[code]....

View 6 Replies View Related

Programming :: Sort Oldest 5 Files In A Directory Tree Recursively Based On Timestamp?

Jun 3, 2010

I have a directory listing with many subdirectories having many files. I want to recursively search for the oldest 5 files starting from the base directory and not 5 from each subdirectory. I am writing a shell script which sorts them using ls -lRtur|egrep "txt|jpg" > /tmp/file1 Now from this /tmp/file1 file I want to sort the files same as what the ls -ltr command does that is oldest file time to newest file time first. How do I sort based on Linux time stamp? The files itself also have Linux timestamps embedded in them So I can sort based after extracting them as well if it is easier.
My /tmp/file1 has entries like below.

-rw-rw-r--. 1 usr1 usr1 705 2010-01-22 17:25 sample20100603173659.jpg

I want to get the 5 oldest files and then delete them.

View 1 Replies View Related

Programming :: Script Finds No Files?

Oct 27, 2010

I am trying to use sed to replace a bunch of text in several hundred files, so I have this bash script that should iterate through all my files. It looks like this:

#! /bin/sh
for php in *.php; do
./run.sed $php

[code]...

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

Debian :: Indexing Files For Fast Finds?

Jan 19, 2011

can I index files so whenever I do a find somethingdo find / -name libSDL-1.2.so.0It doesn't take 10 mins. I do know there are packages such as tracker but that one does indexing all the time. I would be happy to have something which can be done by hand or something which is done once in 12 hours or so.

View 2 Replies View Related

General :: Delete Oldest Directory And File Using Ncftp Commands?

Aug 17, 2010

i use ncftp for some bash script action. how to delete oldest directory and oldest file using ncftp commands?

View 3 Replies View Related

CentOS 5 :: Command To Delete The Oldest File In A Folder/directory?

Oct 13, 2009

I am trying to add a command to my backup script to delete the oldest file in the destination folder before adding a new .tar.gz file.I found this information at .html which I thought would work fine and added the following line to my backup script:ls -t -r -l /backups/Scalix_Backup* | head --lines 1 | xargs rmHowever when I tried this I get an error:rm: invalid option -- wTry `rm --help' for more information

View 7 Replies View Related

Ubuntu Multimedia :: Finding A Program That Converts AVI Files To VOB Files?

May 23, 2011

Is there a program for Ubuntu that converts AVI files to VOB files? This is the only type of file that will burn to a DVD and successfully play on my DVD player. I can use DVD Flick on Windows but I'm sure this can't be the only way. There has to be a way to get VOB files on an Ubuntu operating system.

View 4 Replies View Related

Ubuntu Networking :: Avahi Finds Nothing On Localhost?

May 5, 2011

I've got problem with Avahi on my laptop. It can see the other machines and services on the LAN but not it's own local services and I have no idea why. The laptop (hostname: forseti) sports Ubuntu 10.10, installed aavahi-daemon, avahi-dnsconfd and libapache2-mod-dnssd. Firewall is disabled. Other hosts on the LAN are: magni (openSuSE 11.4 with lots of services published and visible from forseti) and freya (Ubuntu 10.10 with gnome-user-share up & running). Forseti can see the other hosts and their services but not itself. The other hosts can't see forseti. Checked both with nautilus and CLI's avahi-browse.

View 1 Replies View Related

Ubuntu :: Grub Finds No Kernels / Only Memtest

Jul 31, 2011

I ran grub-customiser to set default kernel, and saw the GFX mode setting, thinking "Hey, my monitor is native at 1440x900! I'll use that!" ...Didn't think about how the GFX card isn't initialized at that point, so my res is limited to 640x480... So the first problem was a system hang at the grub menu, with "Input Not Supported" displayed on the monitor.I changed the GFX mode back, and ran update-grub, and with a grin on my face, I rebooted. The grin went away fast, when I saw that none of the kernels showed in the grub menu, and I have only the two memtest entries. It appears that, while all the files are still intact, grub is not seeing the kernels. I had an idle partition of about 13 GB on hand, so after trying all sorts of things, I did a clean install on the little 13 GB partition. Still no dice, after doing an apt-get purge grub etc etc etc on my main Ubuntu partition, to make sure that the new grub was running. I still have only memtest, even though I can open the /boot directory and see the kernel files. I tried going into the grub command line and starting manually, but tab-complete does not suggest any of the kernel files, and tells me that the files do not exist, if I type in their full names.

View 6 Replies View Related

Ubuntu :: Grep Script That Finds Searched Keyword

May 16, 2010

I need to write a script that can search up to 3 parameters and find all files containing those words. then display them and the amount of hits it got.if the first parameter exists, then we can assume we are looking for the word supplied.if the second parameter exists, then we are looking for files with both keywords.if third parameter exists test the second parameter for the values ('and', 'or', '-v') and search accordingly. These are the only values accepted as the the second one when 3 parameters are present.

lastly, if there are zero or more than three parameters echo as an error and when 3 parameters have been entered we echo an error when the second parameter is not one of the following: 'and', 'or', '-v'.

View 1 Replies View Related

Ubuntu Networking :: Finds No Wireless Network And Just Disconnected On 10.04?

Jun 6, 2010

Ive installed 10.04 on my laptop and notebook. It works perfectly on laptop. On notebook the problem is it finds no Wireless network and just says disconnected. I have no idea how to connect it, I tried reinstalling Ubuntu but no luck. I tried looking it up on internet but no luck in finding help. its an MSI U130. The wireless is defently turned on.

View 7 Replies View Related

Ubuntu :: Safe To Remove Everything That Its Cleaning Section Finds?

Oct 1, 2010

Would like to use Ubuntu Tweak on 10.10 beta. Is it safe to remove everything that its cleaning section finds? Or do I have to look carefully at what it removes? Can I just let it remove everything it finds and not worry that something I have installed will be affected?

View 2 Replies View Related

Ubuntu Networking :: System Finds No Wireless Internet / Get It?

Dec 4, 2010

I've installed ubuntu on my laptop, but I've got one problem... I can't see my wireless Internet?

On my mac I see my wireless Internet i click on it, put the password in and I'm connected, but on my ubuntu he doesn't show the wireless Internet?

When i connect via cable I've got Internet so i think it can't be my network card because else he wouldn't connect via cable not?

View 9 Replies View Related

Ubuntu :: ClamAV Finds Infected Calc Spreadsheet

Mar 4, 2011

ClamAV tells me that three of my OpenOffice.org Calc spreadsheets may be infected (status "MBL_144360.UNOFFICIAL", if that means anything). This seems not entirely implausible, since yesterday I used a USB stick to transfer files from a Windows system. Anyway, I'd really like to keep these spreadsheets. Can I disinfect them somehow?

View 2 Replies View Related

Ubuntu Networking :: 11.04 - New Wireless USB - Finds Networks, Can't Connect?

May 20, 2011

So I was the one who couldn't get their ethernet port to function properly. Most likely, this was the result of bad hardware since none of the community's suggestions for software fixes did anything. I believe this is probably true.Indeed, when I bought a cheap $10 wireless USB dongle, it immediately worked better than all the previous things. It detected networks, displayed network strength and even allowed me to attempt login.

The only problem now seems to be that it cannot login. I've rechecked the password countless times, but it just shows the 'connecting to wireless' animation for a minute or two and then poops out and says, 'disconnected'.I assume if everything is getting me this far, the driver is not the problem with the device. Is this a safe assumption?

View 2 Replies View Related

Ubuntu Servers :: Email Notify With Syslog - If It Finds A Certain Thing In The Log?

Mar 9, 2010

I'm running a syslog server on ubuntu 7.04. Can I somehow have it email me if it finds a certain thing in the log? For example. I'm running a PRI and when the PRI goes down, it logs a "DEACTIVED" in the log. I would like an email telling me this so I know to get on it and fix it.

View 9 Replies View Related

Debian :: SMART Reports Bad Sectors But Fsck Finds None

Nov 14, 2015

I am running Wheezy 7.9 (32 bit) and using Gnome Classic desktop. I have recently had several issues with system "crashes" and such, see some of my recent posts, and for now things seem to be working okay. As part of my attempts to "fix" the problems I looked at the hard drive using the SMART disk utility, and also ran "smartctl". The SMART utility reports that there are 3 bad sectors on the drive. When I run fsck, from a live CD, it does not report finding bad sectors. So why would fsck not find something that is reported by smartctl? Which one should I believe?

As a precaution I am now making daily backups of my /home directory and purchased a new HD just in case. Have not yet installed the new HD but at least I am prepared.

View 10 Replies View Related

OpenSUSE Network :: Does Not Finds Shares - Samba - Windows Ok

Oct 14, 2010

I can't for the life of me figure out why I cannot browse my own shares from my linux boxes. both run OpenSuSE 11.3 I follow swerdna's tutorials and reboot several times but don't have a clue as to whats going on to prevent me from viewing localhost shares or 2nd linux box shares. I get 'unable to mount location, Failed to retrieve share list from server' error when I click on my workgroup icon in nautilus.

View 7 Replies View Related

Slackware :: Vwdialconf Finds The Nokia And And Recognize It As A Modem?

Mar 9, 2010

i have the huawei 1550 3g modem (prepaid) tele2 and a nokia 5800 both working on on other dists,installed vwdial and vwdialconf finds the nokia and and recognize it as a modem.vwdial connects and hang up kppp same story. what is the deal with the phone? i have all the settings right it should really just work. And the usbmodem it seems like i need usb_modeswitch but i cant compile i properly and the slackbuild is broken/old.

View 13 Replies View Related

General :: Wireless On Letux 400 Finds Networks Doesn't Connect

Jan 13, 2010

I bought a Letux 400 mini netbook and it works fine except for wireless Ethernet. It finds wireless networks, including mine, and then pretends to connect, after asking for a password, but finally never connects. I tried reconfiguring the wireless network from g to b/g and finally to b only, but nothing changed. Cable connection works. Unfortunately all relevant Letux Web pages are hopelessly slow and certainly too slow to use the forum and ask questions there. why the thing doesn't connect and how to make it connect? If it recognises networks, shouldn't it be able to connect as well?

View 1 Replies View Related

Fedora Installation :: F13 On Macbook Pro 5.4 - Gptsync Fails - Finds GPT Table Empty

Aug 12, 2010

FC13 and Ubuntu 10.04 - both 64bit. Hardware: MBP 5,4 Here's how I do the install:

1. Boot to Ubuntu LiveCD and wipe disk.
2. Create a msdos partition table via gparted
3. Reboot from FC13 or Ubuntu install disk and continue to install with installer suggested partition scheme.
4. Reboot and get an error that says "uncompression error -- System halted"

Variation that I have tried:

1. After #3, boot into FC13 or Ubuntu rescue mode, chroot to hd image and run:
# grub
> root (hd0,0)
> setup (hd0)
> quit

2. Create a 250MB partition where I installed refit and use rest of the disk for Ubuntu or FC13. After installation, both Ubuntu and FC13 halt at the same error.

3. gptsync fails with no refit installed. Finds GPT table empty. LiveCDs from both distros work fine so ruling out hardware issues like bad memory etc.

View 1 Replies View Related

General :: Kubuntu Wubi Finds Wireless And Says Connected. Can't Load Pages?

Nov 6, 2010

I have Kubuntu installed under windows 7. It finds my wireless connection and says i am connected. even with a wired connection it does the same. When i go to the web browser and try it out. says problem with connection. will include some pictures of "iwconfig" and others.

View 4 Replies View Related

Ubuntu :: Program To Open Rar Files For 9.04?

Jan 9, 2010

I am lookin for a program to open rar files for ubuntu 9.04, I have been haveing trouble locating one.

View 1 Replies View Related

Ubuntu :: Program Files Won't Open?

Apr 27, 2010

I have both Windows and Ubuntu on my laptop and I need to access the windows program files via Ubuntu (windows don't start). The problem is that the program files folder appears to be empty. Is there any way to retrieve data from ubuntu?

View 9 Replies View Related

Ubuntu :: Installing WoW - 'Program Files'?

Jun 6, 2010

I've just installed Ubuntu on my laptop. This is the first time I've ever dealt with linux, and was very much a spur of the moment thing (probably not ideal, I know). My laptop is only small and does not have a disc drive.I would like to install World of Warcraft onto my laptop. Usually my plan of action would be to pop the files under Program Files onto an external hard drive, then copy them over and voila.I'm not 100% sure what the Ubuntu equivalent is to Program Files. Google search suggests usr/bin, but it requires permission to move files there and I'm really not sure how to go about doing this.

View 3 Replies View Related

Ubuntu :: Program To Rename Many Files At Once?

Nov 8, 2010

I guess the title says it all. I'm looking for a program that will rename a massive amount of files at once. JPGs specifically, or PNGs. More specifically,I'm creating a stopmotion movie. Using the program StopMotion. And for that, all you pictures, or frames, have to be named 001.jpg 002.jpg and so on. I've got about 300 or so images, and they're all named the default thing that my camera names them, you know, like DSCIM8520 or whatever. I'm looking for maybe a command line program or GUI is fine too, that will do this for me.

View 3 Replies View Related

Ubuntu :: Program To Monitor Changes To Files?

May 9, 2011

Any program that can monitor changes to files? I've had an issue for a while now where files will simply disappear. Specifically, FLAC files that are loaded into Rhythmbox. Once I've found the files in the Trash bin, but I've just noticed several that appear to have been missing for some time, as they were not in the Trash. Basically, I'd like something that will log the non-read activities of a given directory or directories.

View 4 Replies View Related







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