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

learn more… | top users | synonyms

22
votes
3answers
3k views

In Bash, are wildcard expansions guaranteed to be in order?

Is the expansion of a wildcard in Bash guaranteed to be in alphabetical order? I am forced to split a large file into 10 Mb pieces so that they can be be accepted by my Mercurial repository. So I was ...
5
votes
2answers
390 views

Concatenating files to a virtual file on Linux

On a Linux system, is there any way to concatenate a series of files into one exposed file for reading and writing while not actually taking up another N bytes of disk space? I was hoping for ...
0
votes
1answer
17 views

IIS 7.5 - Deployed WebApp can't access network shared's folder / files

I come back with a new question for you guys. :) My project need to work with some important data and print the results. I'm working with a big db and few files located on my company's network. So I ...
7
votes
7answers
4k 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 ...
0
votes
1answer
1k views

How to read a keyword from a txt file in zabbix

I want to know is there are any solution for my to read the word "Error" from a txt file on solaris and Alert me where the Error is found. I tried to create a item of type zabbix agent active but it ...
3
votes
3answers
431 views

OSX connecting to Windows Server 2012 R2 (SMB) for file sharing unable to search

When users on OSX 10.10 connect to a remote server (SRV02) fileshare via SMB, they are unable to search the file share... when they do, it just hangs (pinwheel of death). There are several users on ...
0
votes
1answer
41 views

get physical disk name for a file

When I opened disk management in Windows Server 2008 I see Disk 8 G: H: Disk 9 H: Disk 10 H: I Now, I have few files in H: drive and I want to know which disk it belongs to. I have to do it ...
0
votes
0answers
38 views

Too many php session files created on one server

We have a web application running multiple instances on different plesk servers. On one server we see quick generation of php session files under /var/lib/php/session directory. Which grows in 100 ...
0
votes
2answers
2k views

Apache places uploaded files in /tmp. Can I change that to another directory?

Is there a configuration that changes the directory where apache web server temporarily places uploaded files? I have access to httpd/conf.d I'm on a machine where /tmp is very size constrained and ...
3
votes
4answers
5k views

Fast way to recursively count files in linux

I'm using the following to count the number of files in a directory, and its subdirectories: find . -type f | wc -l But I have half a million files in there, and the count takes a long time. Is ...
0
votes
2answers
1k views

Bad WAN Transfer Speed (Windows Server 2008 R2)

We have two servers in different data centers which are geographically separated by several hundred miles. The RTT (round trip time) for a ping between them is 61ms over our VPN. Both servers are on a ...
1
vote
0answers
38 views

Is it possible to create dynamic content on file read operation? [migrated]

Is it possible to generate file content based on file name? I need a lot of similar .conf files with content depending on file name only. Can I create some "dynamic" file and generate a bunch of ...
0
votes
1answer
14 views

Grep a textfile with (find generated) files, but ignore paths

I receive a huge textfile generated with find. The contents of the generated textfile are a file-referenes with full path, i.e.: //server/dir1/dir1foobar.ext //server/dir1/dir2/dir1bar.ext ...
0
votes
0answers
35 views

MySQL slow file I/O

I got a little issue with MySQL having slow file IO. When benchmarking 1k blocks (I did them on purpose that small for worst-case) I get an hdd speed of about 2MB/s. When looking at iotop while ...
0
votes
2answers
2k views

Can access website but images, css stylesheets and javascript files do not download

i have this problem, not sure about the source of it, Basically the title describes the issue, I can access the webpage and see the html structure, but no resources are being donwloaded nor I have ...
1
vote
1answer
41 views

is there a tool for windows 7 that can find which program is modifying a particular file [duplicate]

My system is infected by a malware that keeps modifying a particular configuration file. Is there a way/tool to find out which program is making change to a particular file? I am simply looking for a ...
0
votes
0answers
24 views

Execute script on file access in samba

So no matter how many time we say "don't open suspicious attachments" our users appear incapable of not f'ing up our server with cryptolockers and they seem to keep slipping through our virus scanner. ...
4
votes
3answers
16k views

Move files to another directory which are older than a date

I am looking for a solution to move files that are year older from today. My log partition is getting full, but I can not remove them. They are needed for a long long time. Anyway one solution I came ...
2
votes
4answers
8k views

How to unhide hidden NTFS folder? (option greyed out, maybe it's a system hidden folder)

I have this perplexing folder that I'm the "Owner" and I have all NTFS rights on it: it's invisible. I would like to make it visible without having to check the "Hide protected operating system files" ...
1
vote
1answer
42 views

SSLRequire - file function

I'm having trouble with Apache 2.2 and the small documentation that I can find for the file function of SSLRequire. I'm trying to check the email property of the client certificate in a request using ...
3
votes
6answers
10k 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 ...
45
votes
16answers
11k views

Favorite rsync tips and tricks

The more I use rsync the more I realise that it's a swiss army knife of file transfer. There are so many options. I recently found out that you can go --remove-source-files and it'll delete a file ...
0
votes
2answers
30 views

Why my netcat connection doesn't send the file correctly?

I wrote this script to send a file using netcat. My intention is to open the netcat port in the destination server from the origin, this way I do everything with just one script instead of having one ...
13
votes
2answers
11k views

Perform rsync while following sym links

I have a directory that contains symbolic links to other directories located on different media on my system: /opt/lun1/2011 /opt/lun1/2010 /opt/lun2/2009 /opt/lun2/2008 /opt/lun3/2007 But the ...
23
votes
4answers
2k views

Pushing Large Files to 500+ Computers

I work with a team to manage 500-600 rented Windows 7 computers for an annual conference. We have a large amount of data that needs to be synced to these computers, up to 1 TiB. The computers are ...
1
vote
1answer
55 views

Unable to upload a big file to server behind nginx as a reverse proxy

I use nginx as a reverse proxy. Behind it is coming apache hosing foo.com . In order to upload a big file, I set post_max_size = 20M and upload_max_filesize = 20M in php.ini . But I can't upload file ...
1
vote
1answer
1k views

Windows File Permissions don't apply to existing files

We rolled out this new Windows 8.1 machine on the domain recently, other desktops are still using XP. One of the software we install is the Oracle Client, it's installed manually on the machine using ...
5
votes
3answers
8k views

Moving a Logical Volume directly from one server to another over the network?

I have a KVM host machine with several VMs on it. Each VM uses a Logical Volume on the host. I need to copy the LVs to another host machine. Normally, I would use something like: dd ...
3
votes
1answer
92 views

What is fastest way to copy a sparse file? What method results in the smallest file?

BACKGROUND: I'm copying a sparse qcow2 VM image that is 200GB in size, but has 16GB of allocated blocks. I've tried various methods to copy this sparse file within the same server and have some ...
1
vote
1answer
91 views

File extension .QCOW2 on Windows [closed]

While I was researching for solution, I saw the file extension could have something to do with vmware, thats why I am asking my question here. I would like to know how, what software should I use, to ...
31
votes
6answers
20k 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 `-- ...
0
votes
0answers
32 views

inconsistent behavior of files created by an archive / ssh / tar command

Working on a deploy script, I ran into issues that I cannot explain. We have a production server (Ubuntu server 10.04), a repository (Gitlab), and a development server (Ubuntu 14.04). I work on the ...
0
votes
1answer
31 views

Copy files limited to 50GB or so?

Several times I have tried to copy a vhd file from one HDD to another one colocated in the same physical box and connected to the same motherboard. GUI drag and drop, Powershell, copy and paste - all ...
2
votes
3answers
41 views

Output of a command to the first line of a file

I am trying to insert output of a command into the first line of a file. For example, I have a file named "list.txt" and want to insert a text containing all the file names in that folder. A way to ...
0
votes
1answer
48 views

Managing uploaded files on a server [duplicate]

I have a server hosting an intranet web site where one of the features will be the ability to upload files. The files will be saved in a restricted access folder and managed through the web back-end. ...
0
votes
0answers
34 views

SVN checkout intermittently skips files but reports success

I have an intermittent issue with subversion checkouts. Reasonably frequently (though with no apparent pattern) when my continuous integration server (Bamboo) checks out code from the repository, ...
23
votes
6answers
731 views

How do I prove two files are the same legally?

We had someone steal some files before quitting and it has eventually come down to a lawsuit. I've now been provided with a cd of files and I have to "prove" that they are our files by matching them ...
0
votes
1answer
18 views

After restoration of .stm file i unable to open emails.

We use Exchange server 2007 as a mail server where mailboxes don`t synced to Outlook. We had some problems with a .stm file and we restored it. After that we unable to open any emails located in these ...
0
votes
1answer
6k views

Windows Server 2003 Temporary Internet Files filling with hidden junk?

I have a server running Windows Server 2003. Nobody uses the internet from this machine. If I go to C:\Documents and Settings\(user)\Local Settings\Temporary Internet Files and right-click for ...
1
vote
1answer
196 views

SQL Server moving to new file

I am trying to do a shrink on my data file, after large delete. It is failing and I am unable to get it working. I am probably going to have to move to new data file. I am trying to find out if doing ...
0
votes
3answers
276 views

Can't find a process that is writing huge files to my disk [closed]

While clearing up my harddrive, I ran into a directory called, c:\logs that had huge files in it. The first one, called debuglog.txt is 9gb and contains the following data: ProcessWin7_SpeakerPin ...
10
votes
4answers
2k 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.
1
vote
2answers
20k views

Script to delete temp files for all users in XP, Vista, and 7

Basically, we have numerous customers running XP and 7 with a few Vista machines. I've found this batch script, but it is limited to the current user (uses the %userprofile% environment variable). ...
0
votes
0answers
81 views

How to (best) configure updatedb in cygwin to search windows shares?

Context: Finding Files Quickly Across the Network A confession. I'm more of a bash/linux developer type than a windows admin. Our deployments have over 80 servers. Recently a software bug required ...
0
votes
1answer
121 views

Storing Large Amount of files in a file system?

Guys I am creating an application which will be saving a .txt file (approx 10 KB/file I guess) in a file system and will be saving its path in MS SQL database. Now as per my estimation, approximately ...
2
votes
1answer
104 views

File storage for replicated front-end web servers?

We are a company running a website with ~800k unique visitors each month with a constant growth rate of 35-40%. We have just gone from having one server to a dedicated mysql database and an ...
2
votes
4answers
565 views

Finding and deleting old unused images?

As we move on with our content-based websites, lots of images get dumped in our images folder, but we rarely come across anyone that deletes their files once they do not need them, meaning that we end ...
-2
votes
2answers
97 views

How can I get information about a file or folder on a Linux system?

I need to get detailed information of certain file or folder, such as chmod, changed date, which user. How can I do this?
1
vote
2answers
39 views

On Debian, what command will return the file with the “smallest” filename from a directory?

I have a directory containing three files, for example, 5.war, 6.war and 7.war. What command will return the file with the "smallest" filename from this directory? (In this case, 5.war.)
1
vote
4answers
5k views

how copy file to windows server from linux

I have a file on CentOS machine that needs to be copied to Windows NT server. I use \10.10.10.10 to connect to the server from my windows desktop. I can copy the files using the GUI, but I want to ...