Organized data encoded in a pre-defined format and stored on a filesystem.

learn more… | top users | synonyms

0
votes
2answers
101 views

copying a file 2 connections away?

I dislike calling scp twice. I need to connect to box1 via ssh the again to boxNAME. How do i copy a file from boxNAME to my local drive? also how do i copy a file from my local drive back to ...
18
votes
9answers
19k views

Best way to compare (diff) a full directory structure?

What's the best way to compare directory structures? I have a backup utility which uses rsync. I want to tell the exact differences (in terms of file sizes and last-changed dates) between the source ...
14
votes
8answers
6k views

Doing an rm -rf on a massive directory tree takes hours

We're using rsnapshot for backups. It keeps lots of snapshots of the backuped up file, but it does delete old ones. This is good. However it's taking about 7 hours to do a rm -rf on a massive ...
250
votes
15answers
176k views

How do you find what process is holding a file open in Windows?

One thing that annoys me no end about Windows is the old "sharing violation" error. Often you can't identify what's holding it open. Usually it's just an editor or explorer just pointing to a relevant ...
72
votes
8answers
106k views

How do I create a symbolic link in Windows?

Windows Vista added the ability to create symbolic links to files and directories. How do I create a symbolic link and what are the current consumer and server versions of Windows that support it?
29
votes
6answers
19k views

Merge 2 directory trees in Linux without copying?

I have two directory trees with similar layouts, i.e. . |-- dir1 | |-- a | | |-- file1.txt | | `-- file2.txt | |-- b | | `-- file3.txt | `-- c | `-- file4.txt `-- ...
9
votes
4answers
1k views

read specified range of lines from a file

I have i file that contains 100000 line how i can get the lines from line# 5555 to line# 7777 under linux. Thanks for all.
4
votes
6answers
14k views

How to rename multiple files by replacing word in file name?

Replace ACDC to AC-DC For example we have these files ACDC - Rock N' Roll Ain't Noise Pollution.xxx ACDC - Rocker.xxx ACDC - Shoot To Thrill.xxx I want them to become: AC-DC - ...
6
votes
6answers
3k views

In *nix, how to determine which filesystem a particular file is on?

In a generic, modern unix environment (say, GNU/Linux, GNU/Solaris, or Mac OS X), is there a good way to determine which mountpoint and filesystem-type a particular absolute file path is on? I ...
5
votes
9answers
3k views

Deleting large no of files on linux eats up CPU

I generate more than 50GB of cache files on my RHEL server (and typical file size is 200kb so no of files is huge). When I try to delete these files it takes 8-10 hours. However, the bigger issue is ...
2
votes
1answer
837 views

ZFS file deletion and its relationship to disk space

I deleted a large file (many gigs) from a Solaris system and it didn't seem to recover the amount of space on the zpool equal to the size of the file. Is there any reason that I wouldn't see this ...
5
votes
4answers
4k views

Incorrect file creation date in Windows XP/Vista

Check this out: Create a new file on your Windows machine. Note its creation date/time. Delete the file. Wait a little bit. Create a new file on the same directory, with the same name as the ...
3
votes
5answers
9k views

Best method to track folder size growth over time?

I have a file server that has a pretty large folder tree. There's a shared folder, under that are 5 departmental folders. Nested inside of those are thousands of subfolders and files. I would like ...
2
votes
3answers
1k views

Amazon EC2 + EBS:: Regular backup plan?

I have read some articles about amazon ec2 instances and ebs. I found out that, the data on the instance are not persistent, which means, if the hardware fails, instance shut down, I will lost my ...
2
votes
1answer
2k views

How to revert the compressed attribute on files in Windows for a whole drive

Someone at my job (a sysadmin) actually performed a "cleanup" task on WinXP which at the same time compressed all the files on my HDD with the Windows compressed file attribute (Filenames get blue in ...
2
votes
7answers
74k views

Why am I getting 'File in use by Another User' and 'Application Sharing Violation' errors when trying to open & and save files?

We're getting this a lot lately. Windows 2008 Server Windows 7 & Vista Client PC's Microsoft Office 2007 When a user tries opening a file on our network drive (word doc, excel spreadsheet, ...
0
votes
2answers
10k views

How many maximum files per directory on CentOS 5 64bit or Linux RedHat 64bit?

Now, I have any 20,000 files in single directory. How many maximum files per directory on CentOS 64bit ext3?
0
votes
2answers
5k views

Compress files to daily/weekly/monthly archives with Windows scheduled tasks

For EDI files which need to be archived, I would like to use a compression uitility (like 7Zip) which collects and compresses files based on their file date. For example, a weekly archive ...
3
votes
2answers
161 views

Determine which files a process opened (Linux)

I am trying to determine which files a process creates when it runs. I know that I can list the file handles of a currently running process by looking in /proc or using lsof. However, the problem is ...
2
votes
4answers
2k views

UNIX/Linux sparse files — in use? How do you handle these?

Since the beginning the standard UNIX/Linux systems support sparse files, this is a file which contains unused space that is unallocated until needed. To review, to generate via a C program: create a ...
0
votes
1answer
3k views

JBoss 5.1.0.GA and huge vfs-nested.tmp

I noticed this while running a performance test with JMeter. For first half an hour everything was fine and the /server/all/tmp directory size was around 36M. Then suddenly the tmp directory grew up ...