Ubuntu :: Automatically Sorting Files?

Mar 25, 2010

I download files onto my networked file server which is running Ubuntu 9.10.By default, all files are moved into the Downloads folder, I'd like to use a script or program to automatically send them into one of 5 shared folders based on what the file is.For example: archived files would be software by default, .avi or mpeg Videos, and .flac or .ogg would be Music.

View 1 Replies


ADVERTISEMENT

Fedora :: Automatically Renaming Files While Sorting By Date?

Apr 17, 2010

I often record music from the webradio with Streamtuner.How can I rename the mp3 files recorded in a way that numbers are added to the beginning of the filename representing the order in which the titles were played on the webradio station?I am looking for an automated solution like a renaming tool since there are usually hundreds of files in a directory. I used autorename / ARen for windows back in the day when I was still on XP. What I could do with the tool was:a) Sort the files by date of creationb) add an increasing number at the beginning of the filename based on the position in the sorted list.

View 3 Replies View Related

Ubuntu :: Sorting Files Based On Filename?

Nov 2, 2010

I'm currently trying to organize a media server so that things will be in some kind of logical order rather than the current setup of dumping everything of a certain content type into a single folder. However, the size and diversity of content within these disorganized folders precludes me doing things manually. Does anyone know of a program or script that could sort the files into folders based on part of a filename

View 7 Replies View Related

General :: Sorting Files In A Directory?

Jan 6, 2010

I have some files in a directory like

file1.txt
file10.txt
file2.txt

[code]...

View 5 Replies View Related

Ubuntu :: Logical Volume Sorting Individual Files?

Jun 5, 2011

So I just had a quick question on logical volumes and such with ubuntu. I've been looking into setting up a storage array of 4 2tb hard drives for media storage in my house but have ran into a wall with with sort of array i should use, whether it be setting up a full raid system (raid 5 or 10 most likely) or using LVM for stripping. The one thing with LVM however, is that there is no parity or redundancy built into it in case 1 hard drive fails. I was wondering if it was possible to create something similar to that of LVM stripping, but instead the logical volume is sorted into whole individual files, not stripping them across the array. That way, if one drive fails, sure, i lose the contents of the one drive, but the rest of the content isn't lost and I have no loss of space because there is no inherent parity.

View 1 Replies View Related

General :: Include Special Characters When Sorting Files By Name (Fedora 12 I386)?

Feb 15, 2010

I am dragging my files over to a new Fedora 12 installation and I just noticed that special characters are not taken into account when sorting files by name (I want '_js' to come before 'images').Is there a way to make the sorting process behave like Windows, where files starting with a special character are listed first?

View 5 Replies View Related

General :: Merging And Sorting Multiple Files With "sort"?

Jun 3, 2010

I have a bunch of text logfiles in the following format:

ID (17 characters)
Timestamp (14 characters YYYYmmddHHMMSS e.g. "20060210100040" -> 2006/02/10 10:00:40)
Random data (? characters)
end of line

The files are already sorted by timestamp.I need to get 1 log file with all the logs from multiple logs files, sorted by timestamp. Note that the log files are really huge, around 3-4G each (and there are dozens of them) I tried the following command:

sort -s -m -t '|' -k1n,1n +17 -o data_sort.txt *.TXT

Here is how I ended up with this command:

-s : don't bother with tie results
-m : merge all logs files
-t '|' : there is no | in my logs, so the whole line should be field 1

[code]....

Actually... it fails miserably. The output file data_sort.txt is just the concatenation of all files, not sorted at all.

View 4 Replies View Related

Ubuntu :: Automatically Allow .exe Files To Be Run By Wine?

Jul 4, 2011

I've been using Wine to run some Windows applications (GraphicsGale, Angelcode Bitmap Font Generator, etc.) but it's a bit annoying to have Ubuntu always tell me that .EXE files are not executable, and a bit nonsensical since, by definition, they are.

Right now, every time I download an installer .EXE I have to first manually set the executable flag in the file's properties. This is a bit annoying. Is there some way I can set Ubuntu to automatically register .exe files as executables?

View 4 Replies View Related

Ubuntu :: Make Executable .sh Files Run Automatically?

Feb 19, 2010

How do you make executable .sh files run automatically without prompting me on whether I want to Run in Terminal, Display, or Run?

View 1 Replies View Related

Ubuntu :: Backup Files From Home Automatically?

Aug 20, 2010

I am pretty new to using Ubuntu and want to find a way that I can backup files remotely to my Ubuntu box. My Ubuntu box is running at work and I want to backup files from home automatically every night.Also which solution encrypts the data en route? For example a server with multiple clients with different directory paths.

View 4 Replies View Related

Ubuntu :: Automatically Display Gedit Files?

May 8, 2011

running 10.04 netbook lucid lynx and I have couple of simple plain gedit text files. Wheenver I open them I am always prompted "this is an executable file, with the the choice to Run in Terminal Display Cancel Run how do i get these simple text files (which are not executables unless file type got messed up) just to automatically display in gedit (they're set to open wtih gedt app).

View 7 Replies View Related

Ubuntu :: Use Dropbox But This Doesn't Syncs Automatically New Files

Apr 9, 2010

I would like to get a recommendation to get a backup program under Linux.

I use dropbox, but this doesnt syncs automatically new files created on my local folders. So if I copy this in with a Backup program I can get a fully automated online backup system.

View 2 Replies View Related

Ubuntu :: Does Apache2 Have A Way To Automatically Delete Temp Files

May 1, 2010

I have a PHP script running on my website that can generate temporary images, but if I clean them up right away, then the browser doesn't have time to render them.Is there some way to make Apache2 delete them after 5 minutes or so?

View 3 Replies View Related

Ubuntu Installation :: Current Files Will Be Backed Up Automatically?

May 15, 2010

I am wondering that if I install ubuntu as my os, will my current files be backed up to a directory like when installing a new version of windows, or would I need to back them up externally before hand. How much ram does 32bit ubuntu support upto, and which would be better for me out of 32bit + 64bit? I have 4gb of ram and a dual core 2ghz processor.

View 5 Replies View Related

Ubuntu Servers :: Settings To Backup Files Automatically?

Aug 8, 2010

Does ubuntu server automatically backup files? How can i get to them?

View 1 Replies View Related

Ubuntu :: Does Apache2 Have A Way To Automatically Delete Temp Files?

Aug 14, 2010

I have a PHP script running on my website that can generate temporary images, but if I clean them up right away, then the browser doesn't have time to render them. Is there some way to make Apache2 delete them after 5 minutes or so?

View 1 Replies View Related

General :: Automatically Delete Log Files?

Apr 9, 2011

I have a script running as a cronjobIt outputs logs upon each run to /var/log/mylog.logIs there anyway I can delete this or compress it when it gets too large?A cheap and dirty way is to setup another cronjob to delete the log every X interval.... although I'm not sure if that's the proper way

View 3 Replies View Related

Ubuntu Security :: Files Which Are Created Automatically In One Of Ntfs Partition?

Jan 11, 2010

I'm a newbie despite using Ubuntu most of the time for nearly 3 years. There are some files which are created automatically in one of my ntfs partition. The files are khq, khp, kht, an autorun inf file and others. They seem to have been created while I was using ubuntu and even though I delete them,they appear again later. I have googled and have found few information that the files are malware. I will like to know if there is a known issue and solution. This is the first time i'm posting a thread.I hope i have post it at the right place and if not,

View 3 Replies View Related

Ubuntu Installation :: Remove Unneeded Config Files Automatically?

Jun 18, 2010

1) Whenever a new release of Ubuntu comes out, I've always done a full replacement (Booted up live CD, formatted / and formatted /home) to ensure there's zero incompatibilities, including configuration files in my /home. That has, finally, gotten annoying and I was wondering what the actual chances of a configuration file causing problems was in the 6 months that Ubuntu was released in. Also, special consideration for Gnome 3 (aka gnome-shell) coming out with the current gnome configs.

2)Any way to remove unneeded config files automatically? I don't always use purge when I remove a package just in case I want to reinstall it, well weeks later I def don't want it, is there an apt or dpkg command that will automatically remove them after the package is gone? I know autoclean and autoremove handle orphans and unneeded .deb's

3) How stable is Sidux in reality? Ran it in a VM and had a few errors every so often while using it, but i wasnt sure how much of that was the fact it was a VM. Some say its stable enough for daily use, some say it breaks every other day

View 2 Replies View Related

Ubuntu Installation :: Sorting Out A Triple Boot?

Feb 5, 2010

For completeness here's the history that got me to this point:

Stage 1
/dev/sda - disk with XP OS, set to be first boot disk in BIOS
/dev/sdb - a small data disk to supplement sda

[code]....

View 4 Replies View Related

Ubuntu :: 'sort', Not Sorting Some Characters, Just Ignoring?

Aug 28, 2010

i used 'sort' to sort a 160k line file and looked though it and noticed this

RS:HALP
RS HD
RSHD

[code]....

View 2 Replies View Related

Fedora :: Cleaning The Orphaned Files Automatically?

Oct 26, 2009

If we update or remove some packages (in addition manually installed software), some files such as previous version dynamic lib files are left, so it may conflict with new stuffs sometimes. Is there any efficient way to remove these kind of orphaned files all, automatically?

View 2 Replies View Related

Software :: Automatically Generate Text Files ?

Sep 17, 2010

I have a personal server that is password protected. I convert my movies, and make it so that I can watch them through a browser when I want to. I have quite a few movies. They are sorted into different directories. In each directory there is a WebM folder that contains the video file.

Here is what I want to do:Scan all of the directories and subdirectories in /var/www/ for files with extension of webm.

When a file is found, go to the parent directory and create an html file with the same name as the video, only with an html extension instead of webm.

Automatically enter the following html code into the file with the file name matching the file that was found.

Code:

Is it possible to do this with a script? Is there a GUI program that can do this? I don't mind running the script every time after I convert a movie, but if it could monitor the folders that would be nice.

View 11 Replies View Related

Ubuntu Servers :: Automatically Delete Files Older Than 6 Months In Folder

Mar 27, 2010

I have server running ubuntu. There is folder /var/netflow and I have there files, which creates every 5minutes new ones(monitoring traffic on network). And I need to delete files older than 6 months manually. Can you help?

View 2 Replies View Related

Ubuntu Multimedia :: Exaile Rc 3.2 Again No Sorting By Album Artist

Jun 16, 2010

I was glad to see another release of exaile. I'm always happy to see improving mainstream desktop apps, especially when they start being much superior to their commercial counterparts in both, quality and quantity, of features. But as if developers are ignoring the simple usability problems - again - exaile like all other gnome music players (apart from amarok, but that's kde!) can't browse your library by album artist!

View 8 Replies View Related

Ubuntu :: Tweaking Nautilus' File Sorting Order?

Dec 31, 2010

I've recently switched from Windows to Ubuntu and have a question regarding tweaking the character order Nautilus uses for alphabetical sorting. In my music/graphics/etc folder hierarchies, I have used a hyphen at the start as a 'hack' to 'sticky' some folders above the rest for quicker access. This worked fine in Windows, but Nautilus ignores a hyphen in it's sorting calculations. Is there anyway, simple or complex to replicate this behaviour in Nautilus?

View 4 Replies View Related

Fedora :: Mini Script For Automatically Organizing Files

Dec 6, 2010

My girlfriend just started on Fedora and she's a mess with her files. I was thinking on writing a mini-script that would put all her document files on ~/Documents, music on ~/Music, etc. I thought, maybe, there could be some software that cleans up the desktop for ya. If not, this could be a major app idea. Is there anything anybody knows of? Simple thing: putting your files on the right places.

View 5 Replies View Related

OpenSUSE :: Cloning Files - Copied To The Other System Automatically?

Mar 8, 2010

I have multiple OpenSuSE 11.2 systems. With some files being on one system I would like to have another computer to have the files as well. Is there a way to have the files copied to the other system automatically? FTP is one way but it is too cumbersome. I am thinking of something like disk or directory mirroring. Does OpenSuSE have something like that?

If it was real time mirroring that would be better. I.e if a write to one file on one system is done, then this would be done on the other system with the same directory/file.

View 3 Replies View Related

General :: Automatically Saving Text Files In DOS Format?

Oct 5, 2010

I usually work with plain text files, and when moving them across platforms, the differing format creates problems. I want that whenever I save a file with extension *.txt, it be saved as DOS format, and all other extensions or without get saved as Unix format.

View 2 Replies View Related

Security :: Setup Vi To Automatically Encrypt/decrypt .pgp And .asc Files

Dec 17, 2010

I'm trying to setup vi to automatically encrypt/decrypt .pgp and .asc files. The encryption part works. If I "vi testfile.gpg" it will auto encrypt it on save.

However when I try and vi the encrypted file it does not prompt me for my pass phrase. I just get this:

Quote:

Here's what I have in my ~/.vimrc file.

Quote:

This is on gentoo linux if it makes any difference.

View 9 Replies View Related







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