Ubuntu :: Need To Correctly Sort Hex Numbered Files

Feb 5, 2011

I have some files, named E000.svg, E001.svg, E002.svg, ... E07D.svg, E07E.svg, E07F.svg . When I open them in Nautilus, and choose the option Sort Alphabetically, they are sorted:

E000.svg
E00A.svg
E00B.svg
E00C.svg
E00D.svg
E00E.svg
E00F.svg
E001.svg
E01A.svg
E01B.svg
and so on.

This is totally useless for me, so I searched for a solution in Google, and found lots of bug reports. It looks like it's a 'feature' for sorting 10 after 9; but clearly they have forgot that many people don't like or don't need that option. Thinking it was a Nautilus thing, I installed Thunar, but it has the exact useless algorithm. And then I installed PCManFM, but it's also the same. If I can install a file manager that correctly sorts my files? Or will I need to switch to Windows to have it fixed? (not joking here, Windows Explorer doesn't suffer from this feature).

View 9 Replies


ADVERTISEMENT

Ubuntu Multimedia :: Join Ulitple .avi Files With A Numbered Extension?

Sep 19, 2010

This should be easy but despite all the hints and tricks I've read, I cannot make this work. I have 130+ files with the names filename.avi.001, filename.avi.002, filename.avi.003 all the way up to filname.avi.132. How do I join them? A simple cat command does not work, neither does avimerge or any other utility I can find. I'm guessing because the file extension is a number and not .avi. Is there and easy way to rename them all and then join them? I can't be the only one with this issue but I've scoured the forums and found nothing.

View 7 Replies View Related

Fedora :: Gnome Power Manager Not Installed Correctly / Sort It?

Nov 11, 2009

I'm running 10/11 on a toshiba satellite. i kinda got tired of loosing stuff because i mis-timed the battery discharge, so some months ago i pulled the battery and just ran on the adapter (back ground, i don't know if it's nothing, related to, or caused the problem).

monday morning fired her up - boom got the power "gnome manager not installed correctly"message. tuesday, googled gnome then power then... you get the route, and found Fedoraforum.org, read the stuff, did the yum remove...., did the yum install.... everthing seemed cool. 2nd reboot she stopped at the "f/infinity/balloon" kinda logo.

i went to verbose startup and - all sorts of services were failing; the word deprecate(d, ing, tion) came up a lot "device full..." came up a fair bit as well. when i tried the "yum remove" approach again i got [rpmdb: write: 0x1fd48b0, 8192: No space left on device]. similarily on "yum install" same kinda stuff - deprecation, BaseExpection, deprecated..... kinda long winded. up till now (13 years)

View 14 Replies View Related

Programming :: Sort Files In Directories Based On Files Date

Sep 8, 2009

I need a script that will take all the files in a given directory and create new monthly sub-directories and sort all the files based on the creation date into the appropriate directory.For example, all files created between 01/01/09 and 01/31/09 will be placed in 'JAN-2009'

View 5 Replies View Related

Ubuntu Installation :: Launch Bar Icons Numbered?

Feb 9, 2011

I have my 10.10 Unity completely installed, working just fine. I reboot and presto all of my launch bar icons have sequential numbers that weren't there before. Anyone know how to remove the numbers.

View 1 Replies View Related

General :: Cp 'limit' Numbered Backups?

Mar 17, 2011

I currently use cp to backup data. I prefer it over rsync. I use the -b switch to make a backup of data and recently found you can use --backup=t to create numbered backups.Using --backup=t means that I could end up having 100 versions of a file if I change it 100 times. With the -b switch I will only ever have 2 versions. Is it possible to limit the numbered backups to 5 for example? So I would only ever have 5 versions?

View 2 Replies View Related

Ubuntu :: 10.10 Not Saving Files To NTFS Correctly?

May 13, 2011

Not sure if I am doing this correctly, just the obvious way I guess. I have dual boot with Ubuntu 10.10 and Win7 x64. They are on their own partitions, Windows on NTFS and Ubuntu on ext4.

Every now and then when I am in my Ubuntu system, I will load/save files from the NTFS partition. So I mount the NTFS by just going on places and clicking on the drive.

This morning I loaded some video files and converted them to wav files in Kdenlive, saving them back to NTFS. I then right clicked on the Windows drive and un mounted it, no problem.

Re-booting into Windows I found that the files were not there! Well one of the files was, but it was corrupt and not complete.

Looking in Ubuntu, the files were not there either.

I have seen this behaviour in the past, but never thought anything of it, just that maybe I hadn't un-mounted the drive correctly, but this was not the case this time. Does Ubuntu have a /very/ delayed write to NTFS? I assumed that if it un-mounted correctly then everything had finished writing?

View 9 Replies View Related

General :: Sed: Perform Replacement Only On Even-numbered Lines?

Jul 20, 2010

I'm sure this is possible but I can't figure it out. I have a file formatted like this:

Code:
>SEQUENCE1
FGFD665:?@663:BBBBAA?A@<<4!1004699<7444399>???888455555?AAA?AABBB@@@<<<34
>SEQUENCE2
>&<4!1004699<7444399>???888455555?AAA?AABBB@@@<<<34BBB@@
>SEQUENCE3
???888455555?AAA?AABBB@@@<<<341004699<7444399>???888BBB@@

The odd-numbered lines containing >SEQUENCE# are the headers and the even-numbered lines containing a variety of characters represent DNA sequence read quality scores.

I want to replace all of the greater-than (">") symbols in the quality scores (even-numbered lines) with a "0" but I want to leave the greater-than symbols on the odd-numbered lines alone. I would just use sed -i '/^>/! s/>/0/g' $FileName but sometimes the quality scores begin with a ">" as well.

I'm sure there is a simple modification of a normal sed command with an "n" inserted somewhere but I can't figure it out.

View 3 Replies View Related

Ubuntu Multimedia :: Play Files On System Correctly?

Apr 24, 2010

I have an anime series (about 24 episodes, each 325-350 megabytes each) encoded in .mkv format, high quality (1280x720). It took quite some time to download this series, however no matter what I do, I cannot get the files to play correctly under Ubuntu. I have tried several different media players, including VLC, Movie player, and Mplayer, and none work correctly. VLC will play the first 15-20 seconds fine, and then stop the video and go back to the beginning. I however, do realize that my laptop isn't high-spec, and isn't really built for HD video playback (1.6ghz single core athlon CPU, 4 gigs of ram, integrated radeon x1250 graphics chip.)

I can play these files on my system and have them play correctly? (Without lag or stuttering?) Also the anime is subtitled, so I would want to make sure the subs work correctly, and preferably have the audio in sync with the video.

View 2 Replies View Related

General :: Command To Swap Even And Odd Numbered Lines In A File

May 28, 2010

I'm looking for a command to swap the even/odd numbered lines in a file. Example input file:

Code:

1
2
3
4

[code]...

Example output file:

Code:

2
1
4
3

[code]....

I'm sure there's a way to do it with sed, awk, grep and the like but it's been many years since I've used these commands on a daily basis and I can't seem to figure out the correct syntax.

View 2 Replies View Related

Programming :: Show The Output Of These Fields In A Certain Way That Every Record Is Numbered?

Mar 25, 2010

i am reading a database flat file with the "awk" command which has 4 fields separated by colon ":" .I want to show the output of these fields in a certain way that every record is numbered e.g

1.some text
2.some text

Is there a way to do this?

View 14 Replies View Related

Ubuntu :: Correctly Installing Libraries And (non-kernel) Header Files?

Jun 9, 2010

Not I recently installed a package (Vision Egg) that requires the Open GL libraries and headers, specifically, gl.lib and gl.h. I used Synaptic to install nvidia-current and nvidia-current-dev and it now looks as if the required libraries (under different names) are installed in /usr/lib/nvidia-current and as if the required headers are in /usr/include/nvidia-current. I am a bit confused because I also have /usr/lib/nvidia and /usr/lib/nvidia-173.

The installation of Vision Egg fails with "cannot find GL/gl.h" and "/usr/bin/ld: cannot find -lGL"There is a related post a few years ago under thread 200901 but it relates only to a single file problem that is fixed manually. I'd rather avoid that because it looks like it is easily breakable.Is there a standard way --- that is, a method that does not require error-prone manually changing or linking a multitude of file names --- of ensuring that programs which require GL/gl.h actually find the correct nvidia header file and also that the link loader finds the GL libraries.

View 2 Replies View Related

Ubuntu Servers :: Make Sure Cron Job Copies Files Correctly

Jul 1, 2010

I made a Bash script that is fired by a Cron job every morning. It dumps an SVN backup on some Samba shared drive. I would like to know how I can make sure the job worked correctly without having to verify the shared drive every morning. Right now, I take the job's output, save it to a log file and send this file by email. But the ouput isn't so great.

[Code]....

View 2 Replies View Related

Ubuntu Multimedia :: Files Not Being Read Correctly In Media Player?

Jan 20, 2011

I am not sure what is happening with my music, but it's driving me mad and making me pull out my hair. My ID tags are not being read correctly through through both Rhythmbox and Banshee, but my tag editor, dBpoweramp, and Ubuntu properties reports the information correctly. All of my music is stored on another computer stream via the network. For example, I have an album by X Japan label as this:Track: Break the DarknessArtist: XAlbum: I'll Kill You EPYear: 1985

But banshee breaks up the album into two different albums, and on top of that, Banshee see it as X Japan, but reads it as X for the artist. And it's not just this album, it happens to a lot of my albums, sometimes they are missing tracks or mislabel or missing cover art, etc, etc, but only within the media player. Why is this happening and has anyone else notice this?Ubuntu 10.10 x64Banshee 1.8.0Rhythmbox 0.13.1Music streamed over network

View 9 Replies View Related

Ubuntu :: Using Bash To Sort Csv-files?

Jul 25, 2011

I am in need of sorting the content of a csv-file separated with "#". The file looks the following:

Code:
Descriptive 1#47.5498295127948#35.5365757501888#44.4127802931231#84.0767444257134#0.0416435951243528#0

[code]...

View 8 Replies View Related

OpenSUSE :: 11.3 Fails To Correctly Import Pps / Ppt Files - Openoffice 3.2.1

Dec 27, 2010

It would appear that novell openoffice 3.2.1.4 on opensuse 11.3 fails to correctly import pps/ppt files. Slide transition data is lost and this results in presentations without sound. This problem does not exist in openoffice from openoffice.org. openoffice from openoffice.org will play pps files with sound which will not play with openoffice from Novell. However the openoffice.org version requires JMF.

JMF is old and 32 bit. I have tested openoffice 3.2.1 from openoffice.org with JMF on a 32 bit 11.2 system and it works. I assume that JMF will not work with a 64 bit JRE. I also assume that it would be difficult to get a 32 bit jre to work with a 64 bit openoffice FMJ is an alternative to JMF. It plays various types of audio including mp3 and wav. It is packaged for installation on 11.3. Does anybody know if this works in place of JMF with openoffice from openoffice.org on a 64 bit system?

View 9 Replies View Related

Ubuntu :: Change The Default Viewer For Dvi Files, Since Xdvi Doesn't Render Correctly?

May 6, 2010

I am using emacs+auctex for latex editing now, I want to change the default viewer for dvi files, since xdvi doesn't render correctly most of my documents; okular works perfectly, though I cannot make it the default viewer I went into the AUCTex manual, and there is a tex-view-program list that should contain the list of viewers, but I cannot find the way to customize that variable.

View 6 Replies View Related

Ubuntu Servers :: Setting SAMBA Server Correctly - Can Only Access Files From The Win 7 Machine

May 31, 2010

Im having trouble setting my SAMBA server correctly. I have two Win machines, one with WIN7 and one with XP. I have one Ubuntu machine and Ubuntu Server 10.04. My problem is that I can only acess files from the Win 7 Machine. When I try to map out the shared dirs on my serverI get asked for user and password, when I enter my creditensials it dosent help.. What to do? I used the sample smb.conf file and open for no restrictions..

[Code]....

View 9 Replies View Related

Ubuntu :: Bash To Sort Files Into Subdirectories?

Sep 4, 2010

i currently have hundreds of files all in a single directory. What I would like to do is create 8 subdirectories and move the files into the subdirectories based on the first character of the file name. Ideally, the script would omit any 'the' or 'a' and use the second word for filing purposes. No filenames have spaces. Instead they use periodsThe subdirectories will be:

0-9
a-d
e-h

[code]...

View 2 Replies View Related

Ubuntu Installation :: Unable To Get Old 9.4 To Work Correctly And Installed New In Fear Of Looseing Pics And Files?

Mar 11, 2010

i have a problem i have two ubuntu programs on my hard drive. i have old 9.4 and i installed new 9.10 in a partition. i was unable to get old 9.4 to work correctly and i installed new in fear of looseing pics and files. what do i do.

View 7 Replies View Related

Ubuntu :: Sort Files Into Folders Based On Extension?

Sep 16, 2010

I recovered some 60,000 files with PhotoRec and need a script to sort them into individual folders based on extension. I was able to do this once before but cannot find the script again (sad thing is that I probably saved it on another HD that I'm having partition issues with, but that's another story....).I found this script:

Code:

#!/bin/dash
mkdir "$1"
for file in *.$1; do
mv "$file" "$1"
done

While it does work, I am not looking forward to going through all 132 folders and typing in each extension. The last time I did it, the folder was automatically created based on the extension(s) found.

View 6 Replies View Related

Ubuntu :: Find Files With Directories And Sort By Mod Time?

Dec 4, 2010

what i wanted to do was find all the files with a specific name from a tree, sort them by modification time and have their directory appended to them so that i knew where they were (because they all have the same name). i tried a whole bunch of different things and finally did this:

Code:
find . -type f -name world.sav -exec ls -l '{}' ; > ~/dfsaves.txt; gawk '{$1=""; $2=""; $3=""; $4=""; $5=""; print}' ~/dfsaves.txt | sort -n > ~/dfsavessorted.txt

this did the trick pretty well, but as you can see it is far from elegant and i think i'm doing some things wrong and kludgy

first thing i tried was "ls -lRt | grep world.sav" which worked except i couldnt distinguish the files because there were no directories. that took a lot of looking till i accepted i couldnt make ls print directories as well and append them to the files somehow that their relationship would be clear. i tried piping ls to find, doing it in reverse, passing them from grep etc. etc. until i read some more stuff online that got me using gawk and sort. the questions:

1. is there some other, more elegant and simple way to do this kind of detection and sorting?

2. is there any way to use a pipe after using exec? the semicolon seems to prevent this entirely, forcing me to use an intermediate file as above. i could just remove it later, but i'd prefer a straight piping.

View 8 Replies View Related

Software :: VLC Won't Open OGG Files / Sort It?

Sep 12, 2010

Movie Player will open the same files but VLC will not. VLC will play videos and MP3s though.

View 6 Replies View Related

Ubuntu :: Find / Sort And Produce List Of Files (Photos)

Sep 11, 2010

I have hard drive with several thousand photos. These photos are in different formats, some are tif some jpg some raw (cr2). These files are in dozens of directories. What I want to do is produce a list of all the files, in all of the directories, sorted by the file name (not sorting on the path), listing the location, file name, size and date created.
For instance I may have a file called photo1.jpg in /photos/pics/
I may also have a file called photo1.cr2 in /photos/misc/ and a file called photo1.tif in /photos/processed/summer/.

I would like a text file that would look like this:
/photos/misc/photo1.cr2 2536658 2010-07-09 13:17
/photos/pics/photo1.jpg 320046 2010-07-07 14:47
/photos/processed/summer/photo1.tif 234456689 2010-07-10 09:22
Of course I want it to do this for all of the photos. I pretty sure that there is a way to do this with a minimum amount of work. I have no problem with using the command line.

View 3 Replies View Related

Ubuntu Security :: Secure-delete Won't Work On Larger Files / Sort It?

Sep 16, 2010

I'm trying to clean a hard drive and I'm using secure-delete but it just stands there and takes cpu power but nothing happens, I used -r switch first and nothing, so I tried it on single files, small pictures worked as intended but a simple 50MB MPG file just stands there as well and nothing happens.

I left it running for 24 hours and nothing happened but the cpu was working at 90-100% all the time :/

Any one know what's wrong? I'm using 10.04 UNR

View 9 Replies View Related

Debian Installation :: Can't Download Files From Any Repositories / Sort It?

Apr 29, 2011

I am still having trouble installing Debian 6.0.1a (Squeeze) from either CD #1 (KDE version) or netinst version. I tried for a few months to install Squeeze with KDE desktop; now I am trying to build a server, which seems easier (no X.org and KDE problems to worry about.)

Part of the problem common to all my failed attempts (about a dozen!) seems to be that the installer tries to get packages or updates/upgrades from repos but for some reason fails.

I have a commercial all-in-one dslmodem/router/firewall which has very, very limited monitoring capabalities, just enough to show that the PC in question contacted the expected repos (I tried several in different regions) and also shows that no DNS requests failed during that time frame. I did try decreasing the security of the commercial firewall, but that seems to make no difference. I did try to save the install logs, but they didn't fit on a floppy. Any idea what could be going wrong?

View 5 Replies View Related

General :: Manually Sort Random Text Files?

Jun 6, 2010

I have about 1000 text files and I need to view each, and move it to a folder if it's the correct one. I can only do basic sorting by length/size, and I can't grep because the text is random. How can I do this besides manually openiing + saving each in gedit.I'm on Ubuntu Linux.I've already done all the sorting I can based on ize,wordcount,greps,date,etc. This is what's left over. I'm trying to find an easy way to view +save/ignore the rest.

View 6 Replies View Related

General :: .EXE Files - Cannot Get It To Install After I Double Click / Sort It?

Jan 25, 2010

I just downloaded a .exe file. I cannot get it to install after I double click on it. What should I do to make it work?

View 6 Replies View Related

Software :: Way To Sort A Files Based On Creation Time

Jul 7, 2010

Code...

But I want to get the files in order which they created like file, file1 and file2

Any way to obtain this?

View 6 Replies View Related

General :: Sort Big Files, /tmp/sortA3aLjF: No Space Left On Device

Aug 3, 2010

i'm sorting 8GB text file but came up with this error for an investigation

/tmp/sortA3aLjF: No space left on device

is there anyway that sort won't use /tmp?

View 3 Replies View Related







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