Tag Info

New answers tagged

0

Use ls -A | xargs -I artifact du -ms artifact | sort -nr Optionally, you can add a pipe and use head -5


0

Try the following one-liner (displays top-20 biggest files in the current directory): ls -1Rs | sed -e "s/^ *//" | grep "^[0-9]" | sort -nr | head -n20 or with human readable sizes: ls -1Rhs | sed -e "s/^ *//" | grep "^[0-9]" | sort -hr | head -n20 The second command to work on OSX/BSD properly (as sort doesn't have -h), you need to install sort ...


0

Yes, you can, but that will break already installed applications that store full path to the user profile directory, such as Google Drive and iCloud. Here is Microsoft's guide for Windows 7: Log in by using another administrative account. Note You may need create a new administrative account at first. Go to the C:\users\ folder and rename the sub ...


1

User account names can be changed, but the user profile folders cannot be changed. The only solution is to delete both accounts and profiles and start over.


0

Btrfs (B-tree file system) is your answer, it has parallels with Ext4, but offers a bigger change in features and design. It is still relatively new, and majority of the production Linux installations are quite conservative, so you are probably going to have relatively limited community support.


1

Yet another tool: https://github.com/yankee42/java-file-change-watcher Advantages: Platform independent (Java), small (10KB). Disclaimer: I am the author


0

I think everybody has gotten it right in some way, but I think there still are bits of information I'd like to add: Regarding the filesystem Live media is not the same as a properly installed operating system, and sure you'll need a variant of the ext filesystem for installing your Linux distribution but on your hard drive, many live media does not have ...


0

This is a bug in kernel and it is still present on kernel 3.13 amd64 (from Ubuntu Trusty). As _Vi tested in his VM using VBoxManage controlvm <vm_name> keyboardputscancode 1d 38 54 24 a4 d4 b8 9d with the following results: 3.3.6-pf-vi+ : Reproducible 3.2.0-zen-vi+ : Reproducible 3.0.4-zen-vi+ : Reproducible 2.6.37.5-zen-... : Reproducible ...


0

I have seen this quite a bit with cheap china drives. I have probably 100 flash drives that my work bought and were supposed to be 2gb drives with our logo on them. Most only have 128MB useable space. if you write any more than that you might as well consider it lost. I have also seen sd cards that were this way as well. ...


1

mhddfs should do the trick - does a fairly naive load balance (prefers disks in order, unless less free space is available than a set limit - then it picks the one with the most space), works across multiple disks and filesystems, and if you lose a drive, you only lose the data on it. The moment you have volumes that big though... you have bigger issues.


1

You can't split a filesystem between multiple block devices (i.e. disks or partitions), but you can use technologies like RAID or LVM to combine multiple block devices into a larger virtual block device that can be the basis for a large filesystem. RAID in particular is commonly used to build very large disk arrays — think racks and racks of hard drives all ...


5

Note although the system call is called truncate, it actually is better interpreted as saying "Make my file report this many bytes in size". As per the system call manpage: The truncate() and ftruncate() functions cause the regular file named by path or referenced by fd to be truncated to a size of precisely length bytes. If the file previously was ...


0

Yes! It works really well actually since ZFS is also a software RAID-controller, all you need is a 10-port USB 3.0 hub, some USB 3.0 MicroSD (sdxc) readers and some MicroSD cards. If you want it for Windows you can look into VirtualBox and the Guest additions pass-throughs, I have not yet tried it but I plan to soon. I posted a full write-up on my blog ...


0

I had an Ubuntu (9.04, maybe) with ext3 and a disk with NTFS for a couple of years and didn't have a problem using the Linux NTFS driver. However, there was much more read than write operations. Basically, most of the time it was read and around 10% of the operations was write.


0

In the Windows search box you should be able to type something like: ext:FLV OR ext:MKV OR ext:OGG OR ext:MOV OR ext:AVI OR ext:MP4 or even: *.FLV OR *.MKV OR *.OGG OR *.MOV OR *.AVI OR *.MP4


0

Okay, so how one would do this is as followed: run the winrar GUI executable. Navigate to the collection of files. Select them all. Right click. Select extract to. Select Extract Archives to sub folders. Select OK.


1

WinRAR has a right-click menu command called "extract each archive to separate folder". Select all zip files and right click on any one of them to get this option.


0

I found a free alternate tool that can do what I need (Shadow Explorer). It can be downloaded from their official site shadowexplorer.com. The application auto-mounts supported volumes and then any file operations can be performed from there. I was able to transfer both pagefile.sys and complete folders to a standard drive location.


0

OnTrack DM6 is a Disk Manager used to support large disks back in the days when BIOS couldn't handle them. Here is something to try, suggested in this thread, connect the hdd power on PC or reboot depending where you are at... at grub menu press e to edit line move cursor to the end of the line that starts with linux /vmlinuz.... add the option ...


0

You have to indicate the file system type with -t sudo mount -t vfat /dev/sdxx /media/path/to/mount if it doesn't work try fat, msdos and umsdos.


0

http://www.securityfocus.com/archive/104/405927/30/660/threaded Extract I've been successful pulling the pagefile.sys from a live system using Disk Explorer from http://www.runtime.org (Won't work with the demo version) File->Drive (open the drive letter you want to copy from) Goto->Root directory Click on the pagefile's MFT# ...


0

Try something like FileSeek. In the "Include Files" field, you can enter multiple extensions like so: *.flv|*.mkv|*.ogg|*.mov|*.avi|*.mp4 Disclosure: I work for Binary Fortress, makers of FileSeek, which is why I suggested it. There are of course, other similar applications that will allow you to search multiple file extensions at the same time.


2

Unfortunately not, you cannot reformat an entire RAID array without losing data. You will need to move the data elsewhere and then reformat to your chosen file system.


0

If you were to user rsync with the '--ignore-existing' argument it aught to detect the duplicates and and copy everything else over. rsync -ra --ignore-exisiting /path/to/source /path/to/destination I'd create a few test directories with identical files and some hard links thrown in them and do some trials to iron out any unforeseen 'kinks'. You can ...


1

The problem is that you refer to the mountpoint instead of the device file. /mnt/sdb is the place where the usb stick is mounted, not the stick itself. Use that command instead: dd if=Ubuntu.iso of=/dev/sdb /dev/sdb is a block special device file. It is a device represented as a file in linux and it refers to the physical device attached to it. On the ...


0

Windows Vista/7/8 will redirect save attempts from UAC-unaware editors or limited users to the Virtual Store. On User A, explore to C:\Users\YOUR-USERNAME-HERE\AppData\Local\VirtualStore\Program Files (x86)\Cntlm and see if there is a cntlm.ini file there. This is a likely cause of the discrepancy. Deleting it from the virtual store should resolve the ...


1

rsync is a good tool you might want to use to recursively copy a directory to another. When rsync -a Dir1/ Dir2 encounters files with the same names, it unlinks* the file first, copies to a temporary file, and renames the file to the original name. If it is interrupted, you don't lose any files that you wouldn't have lost if the command has finished. Just ...


0

Of course there's a risk of file corruption for major (unspecified) file-system operations, on an unspecified file system, even without taking into account the gamut of possible hardware failures. Ensure you have good backups.


0

Turns out I had to do it this way 0./ Stop services Apache, php-fdm and mysql 1./ Move data directory to /dev/sdc mv /data /srv/data01 2./ Create the /data directory mkdir /data 3./ Mount /srv/data01/data as a directory (and not a device) by using --bind mount /srv/data01/data /data --bind


1

Mount the drive somewhere else (you already did this), move the data to it, then remount the drive at its intended location.


3

When deleting a file, the ext3 filesystem will actually zero out the block pointers in the inode. The larger the file, the more blocks, and the more block pointers, thus the delete operation takes longer on larger files than smaller ones. This is different behavior than both ext2, which merely zeroes out the inode and leaves the blocks containing the block ...


-2

If the data is stored on a different partition to the Windows installation then the data wont be lost. But I assume if they were on the same partition it would wipe the data too. Is that answering your question?


1

Say a I have a secondary hard drive that has been defragged and optimized so that the data is a nice neat continuous block with no missing spaces/clusters. Like a solid brick wall. --> Imagine this picture like this for file system storage: [(data1)(data1)(data2)(data2)(data3)(data3)(data4)(data4)(data5)(data6)(empty)(data7)] Each one of the items in (..) ...



Top 50 recent answers are included