General :: Lower-casing Filenames On Fat32 External Drive

Jan 6, 2010

I have an external harddrive which is fat32 (which was filled when I was on a windows system) with a lot of files on (> 200gb) which have mixed case filenames. I wanted to write a script to rename them all to lowercase however when I did I got an error saying that the filenames are the same (which I guess is true as FAT is case-insensitive). My issue is that I'm mounting this from a linux box now so it would make it a lot easier if things were lower case! I've already run a script to replace all spaces with underscores.

I know I could do this by first going through and renaming everything with a prefix and then renaming it back again (ie, rename File.Jpg to xFile.Jpg and then a second rename to strip that x off and rename lowercase to file.jpg) however I find this approach a bit messy and would prefer to do it all in one pass. Other than that, could I change the drive to ext4 without losing any files on it? The drive has a hell of a lot of stuff on there which is an archive of many years of files - I'd be absolutely gutted if I lost everything.

View 2 Replies


ADVERTISEMENT

General :: How To Add And Remove External FAT32 Usb Drive To RHEL Server?

Jan 8, 2010

I need to get a backup copy of a huge directory on one of our RHEL servers. Rather than hook the external USB drive up to my PC and manually copy it all across the network, can I just plug it in to one of my USB ports on the server and rsync it?I know how to do the rsync, I just don't know how to get the USB drive to show up when I do a df -h and how to properly remove it before unplugging it from the server. this is a live server, so I can't go playing around and possibly mess something up.

View 14 Replies View Related

General :: Good Backup Utility / Script / App / Got External FAT32 Drive

Mar 10, 2011

I am working from a laptop where all my work is stored on a 80GB drive. I am now also an owner of an external 250GB USB hard drive, formatted with FAT32. I want to keep it FAT32, so that I can offer some of my files to people that run Mac OS or Windows and I don't want to have them install ext3 for windows and what not.I am in need of a strategy which will allow me to keep a mirror of my laptop drive on my new external drive, i.e. no history / versioning required. However, I do care about file permissions. The files don't have to be stored as-is, they can be stored within a large (80GB?) tar file, that is fine - it would be easier for me to coerce people to open a .tar file than to install an ext3 driver for their OS, I suppose. I don't think I can keep file permissions otherwise, can I?

I have previously used a self-written sh script that used rsync to keep an up-to-date copy of my laptop filesystem on a USB flash drive, but in that case I had the flash drive formatted with ext3, so no problem with file permissions there. This time, it's trickier.

View 9 Replies View Related

Hardware :: Change My External Hard Drive's File System From Ext3 To Fat32?

Feb 9, 2010

i needed to change my external hard drive's file system from ext3 to fat32, to use it in windows, which i did the simple way: i shrunk the ext3 partition, made a fat32 partition, copied the files over, removed the ext3 and made the fat32 bigger. unfortunately, while gparted was making the partition larger, my computer shut down. i lost all my files and the partition messed up immediately. i made a new fat32 partition, after deleting the old one, but noticed that gparted was showing 100 gigs already in use (???). so now i have a 300 gb hard drive with only 200 gb i can use; i ran df to make sure gparted wasn't messing up, but indeed it shows the partition as being only 200 gigs in size. i haven't tried making any other kind of partition yet, such as ext3, for fear of losing my files again, and because it wouldn't be permanent anyway, because i need those files in windows and stupid microsoft won't make their OS ext3 compatible.

View 2 Replies View Related

Software :: Restore Lower Case Filenames In A Source Code Package?

Jan 1, 2010

I downloaded a source code package for an old multi-platform game. unfortunately, the author, when he created the .zip archive of the source code, zipped it in DOS, and so all of the file names are in all caps. when i run the configure script, it errors out, not being able to find any of the files (which originally were in lower case.

so, other than the extremely tedious process of renaming each file, one by one, is there any way to fix this so it will build properly? this game was written in 1996, so i don't think i'm the first person to bump into this problem.

View 6 Replies View Related

General :: Do External FAT32 Hard Drives Work?

Oct 6, 2009

I have a FAT32 external USB hard drive with a bunch of stuff I want to copy onto a RHEL server. Is it as simple as it is on a Mac or PC where I just plug it in and it will show up, then I can copy all the files off of it?If it is, how do I safely remove the drive after I'm done with it?

View 5 Replies View Related

General :: Use The Second Drive For Backups, Both Manual And Using Back In Time \ Noticed That The Second Drive Was Formated In FAT32?

Nov 1, 2010

I have a second hard drive in my desktop and both the main dirve and second drive are 250GB. I use the second drive for backups, both manual and using back in time. The other day I noticed that the second drive was formated in FAT32. If I go to disk utility and look at the drive it says:Usage:FilesystemPartition Type:Linux (0x83)Type:FAT(32-bit version)Is this ok? I thought in Linux it should be Ext4. So far its been working fine for a while now but if I need to move my files and re format it to ext4 and move them back I would rather do it now when there is less data on the drive.

View 3 Replies View Related

General :: Roll Back Ubuntu Formatted Drive To FAT32?

Jan 21, 2010

I loaded Ubuntu 8.4 on a data drive (second drive no OS) from a Windows XP-SP3 system. I MEANT to load it on the main XP OS drive. Bottom line I formatted a FAT-32 with Ubuntu 8.4. Can I (freeware hopefully) roll back the Ubuntu formatted drive to FAT-32 so I can recover my data?

View 5 Replies View Related

General :: Recover Deleted Files From [formatted] FAT32/NTFS Drive?

Aug 22, 2011

Is there like EasyRecovery for Linux? Free open source command-line based software strongly preferred.Expecting something like:

$ fat32_recovery --some-arcane-options dump.img dir/
Recovery in progress...
~ILE1.TXT -> dir/XILE1.TXT

[code]....

View 1 Replies View Related

Hardware :: Should External USB Drives Be Always Formatted As FAT32?

Dec 22, 2010

If a USB drive is used under Linux and Windows, what would be the best file system? FAT32?Would it harm to have the drive formated as NTFS?How reliable is Linux when writing to NTFS today and is it worth taking the risk?I am asking this because I am pretty sure that there are a lot of peoples out there with external drives that are formated in NTFS.The main reason for this is that a OS like Windows XP cannot format a FAT32 partition bigger then 32GB and without noticing users might format their drives to NTFS.

View 4 Replies View Related

Ubuntu :: External HDD FAT32 To NTFS With No Data Loss

Nov 18, 2010

I have a 1TB External HD that at the time of purchasing was used with my PS3 which only allowed FAT32 HDs. But now I am using it for other uses. I have came across the problem of the file size limit of 4gb that FAT32 has.The problem is I have about 200 GB filled of data on this HDD and wish to convert it to NTFS with no data being lossed. Is this possible and if so how?

Edit: BTW no Microsoft just Ubuntu

View 2 Replies View Related

Ubuntu :: Making FAT32 External HDD Readable And Writable?

Feb 27, 2011

My external HDD became read only, and even not readable for a folder in it. Until now I had no problem with reading/writing on it but at my last mounting it get unwritable. When I right-click and try to change rights it says you cant it's a read only file system...

View 9 Replies View Related

Ubuntu :: Convert External Harddrive From Fat32 To NTFS?

Apr 11, 2011

1. Is this possible without loosing the data on the external harddrive?

2. How is it done?

3. WIll I be able to read and write on both Ubuntu and OS X 10.6? (like I can now)

View 7 Replies View Related

Ubuntu :: Convert External Drives From Fat32 To Ext3 Without Loss Of Data?

Feb 25, 2011

I have 2 external drives that I'm using for movies and they're both formatted to fat32. The problem I'm experiencing now is that some of the high quality mkv files are not able to be moved to the drive because of fat32's limitations.

I'd like to convert to ext3 (or 4) and I wanted to check to see if I can do it without having to reformat and without loss of data.

View 4 Replies View Related

Ubuntu :: Unable To Reformat External Hard Disk From Ext4 To FAT / Fat32

Aug 19, 2011

I tried to install ubuntu 11.04 on my external hard drive (WD My Passport, thats all i remember about the name) and all was well, until I tried to reformat it from ext4 to FAT, and no such luck, it isn't even being READ, not in fdisk -l, not by gparted, disk manager, or anything else. Windows is no help at all... I tried that out of desparation.

View 9 Replies View Related

Software :: Bash - Rename Filenames With Corresponding Filenames?

Dec 1, 2009

I got a filename called like this:

beach---------20090808-110000.ogg
beach---------20090808-120000.ogg

It's like this:

name----------YYYYMMDD-hhmmss.ogg

Now Im splitting these hourly files into 1 minute files. I get then this output sofar properly:

beach---------20090808-110000_00.mp3
beach---------20090808-110000_01.mp3
beach---------20090808-110000_02.mp3
and so on....

the 00, 01, 02 and up are the minutes it has splitted it. Now I need a script, after it did this, to rename the file names into this:

beach---------20090808-110000.mp3
beach---------20090808-110100.mp3
beach---------20090808-110200.mp3
beach---------20090808-110300.mp3

View 4 Replies View Related

Debian :: Format USB Pen Drive As FAT32?

Jun 5, 2010

Debian 5.0I need to format an USB pen drive as DOS FAT32 but I can't find;

mkfs
mkfs.vfat
mkdosfs

View 8 Replies View Related

Ubuntu :: Mount FAT32 Drive Automatically?

Jan 12, 2010

I am setting up a home server and have two hard drives. One is the main HD for system files and the other will be for personal files.

The personal HD is /dev/sdb.

I know I have to edit fstab in order to get it to mount automatically at boot, but I am having trouble with the commands.

I would like for it to mount at boot and have full read-write access from any user.

View 3 Replies View Related

Ubuntu :: Format A Flash Drive As FAT32 From Eeebuntu?

May 16, 2009

There is no obvious format command when I right-click on the drive.

View 2 Replies View Related

Hardware :: Can't Access Western Digital USB Fat32 Drive

Sep 14, 2009

I have Fedora 11 running on my server and I am trying to use an external WD 160mb usb fat32 drive. When the drive first fires up I am able to see the root file system, but then it fails. Thanks Rondo

Here is my fstab file

PHP Code:

[code].....

View 5 Replies View Related

Ubuntu :: Make A Single Fat32 Partition On Usb Flash Drive?

Jun 3, 2010

I am installing Debian on my netbook. I need to make a single fat32 partition on my usb flash drive. I really love linux and want it on my netbook.

View 4 Replies View Related

Ubuntu Servers :: Change Hard Drive From FAT32 To NTFS

Jun 12, 2010

Im usning ubuntu server 10.04 (Command-line)My second harddrive is FAT32 but i would like to change it to HTFS so i can store large files (larger than 2GB)

View 8 Replies View Related

Software :: Move A Tar File From My Ext3 Box Onto A FAT32 Usb Flash Drive But Keep Getting?

Jul 3, 2010

I'm trying to move a tar file from my ext3 linux box onto a FAT32 usb flash drive but keep getting

mv: failed to preserve ownership for `/dir/blah.tar.gz': Operation not permitted

View 3 Replies View Related

Programming :: Ext3 To FAT32 USB Drive Filename - Invalid Characters

Feb 13, 2011

I am using Debian Lenny 5.0.3 with a stock 2.6.26-2-amd64 kernel, and have a ~/Documents/HTMLS directory of 273.2MB (21590 files, 1063 sub-folders) which according to konqueror shows 1130 items - 572 files (60.8MB Total) - 558 folders, these were created by 'Save Page As' in Iceweasel 3.5.11. I am trying to copy the contents of this directory to a similar directory on a 2GB USB thumbdrive /dev/sdb1 which was partitioned and formatted as fat32 by Qparted. Problem is that the copying ceases after about 6 files transfer. I found that (as I am sure you know) the named.html files come with a matching named_files folder, and often there are what appear to be invalid characters such as '*','?',and ':' in the filenames in said named_files folders.

After exhaustive googling [I know we all say that] I found an instruction:
Code:
pax -rw -s '/[*?:]/_/gp' stuff /fat32/partition
that changes the name of the files, replacing said characters with '_', but whilst I can get pax from my repos, I really don't want to 'archive' the files - since I understand that pax was created to bridge a war between tar and cpio - because I want to be able to read the html files on an old (not connected to the Internet) WinXP tablet. So, I believe that I need to create a script, that scans all the filenames, greps and seds to replace said 'unacceptable' characters. I am assuming that Firefox on the Tablet PC will be able to open the htmls if I can get them onto the thumb drive. Are there any other known characters in filenames that M$ file systems can't handle?

View 1 Replies View Related

Software :: Ubuntu Installed On External Hard Drive, Can't Startup Without External Hard Drive?

Jan 14, 2009

I have 2 ubuntu's: 1 on my ineternal hard drive, 1 on my external

When I startup without my ext drive =>GRUB error 21.

And when I plug it in I can choose: the standard ubuntu kernel is the one on my external, and the original one is listed under other...

I'd like to be able to startup without external hard drive and make the ubuntu on my internal drve the standard.

View 14 Replies View Related

Ubuntu :: Error - Set A Valid User Name Consisting Of A Lower Case Letter Followed By Lower Case Letters And Numbers

Mar 12, 2010

I tried to add my wife , and when I put in a password for her, this error comes up."Please set a valid user name consisting of a lower case letter followed by lower case letters and numbers." I did all that and I still can't set a password for her.

View 3 Replies View Related

Software :: Got A Fat32 Extern Hard Drive And Would Like To Do A Defrag And A Scandisk On It With Fsck?

Feb 24, 2010

I got a Fat32 Extern Hard Drive and I would like to do a defrag and a scandisk on it with fsck? Can any one tell me what is the command to do it? I could not find it on google,

View 2 Replies View Related

OpenSUSE :: Unable To Mount Other Drive (NTFS, FAT32 And EXT4) On The Hard Disk?

Sep 27, 2010

Just installed opensuse 11.3 Kdeversion on my laptop. Before installing it on live mode i had a problem of accessing my other drives (NTFS, FAT32 and EXT4) which said HAL system policy...etc mounting error. I could access all drives with root privilege. I thought problem will be solver once i install opensuse on my system. How ever i was really disappointed after seeing the same problem post install. Googled around for the solution and got this link

[Code]...

After this the problem got worse now i am not able to see any of the drives in the side panel. Gone through many forum and posts all discuss about external USB HDD.

View 9 Replies View Related

General :: Upgrade Internal 2.5" Hard Drive Vs External Usb Hard Drive For An Old Laptop?

Jan 25, 2010

I got a dell inspiron 1501 laptop with a 80Gb sata drive what is the best solution to add data storage space for someone that love to have multiples operating systems at hand Note: I use mostly linux so I won't need to change my laptop for many years maybe ...

View 2 Replies View Related

General :: Is Ubuntu Like Windows Can Download Ubuntu To Flash Drive / External Hard Drive

Mar 8, 2011

Is Ubuntu like windows and can you download Ubuntu to a flash drive or external hard drive and if so what kind?

View 4 Replies View Related







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