Questions tagged [files]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
48 views

Modify Multiple Files Names with PowerShell in same directory

I'm a complete noob when it comes to powershell but I've been struggling with this one all day and not sure why. Each day, I will have a set of files in a directory. The files will be different ...
0
votes
0answers
37 views

Apache rewrite rule to match hex encoded unicode characters in filenames

Long story short - an user zip restored a bunch of files which contain unicode characters, then deleted the zip. The filenames now have the unicodes with some kind of hex encoding, which of course ...
0
votes
0answers
10 views

Accessing fileshare using java code, getting 503 service unavailable error

I am trying to access a fileshare to upload to and download files from it, using the java code example given on the azure docs site here: https://docs.microsoft.com/en-us/azure/java/java-sdk-azure-get-...
1
vote
2answers
23 views

Store sensitive files in a secure store

In a project that I'm working on we are required to temporarily store sensitive files (pdf, images, ...). These files are uploaded by a user over the internet and we would like to make sure that only ...
0
votes
2answers
25 views

read the first line in a file, given the file path in BASH

I have a file stored in a location /x/y/z/file.txt There is only an unsigned integer stored in the file. How would I read it and store it into a variable?
0
votes
2answers
36 views

How do I unrecoverably remove a file/directory on a linux system?

Chucklehead A accidentally sent data to internal user Chucky B that this user is not supposed to see. Luckily, Chucky didn't see it. Other than wiping the drive, how can I delete the classified data ...
-1
votes
1answer
41 views

Why are some software packages so big? [closed]

Some packages that I install – which I assume contain nothing but code – are tens or even hundreds of MB. For example, I recently installed pytorch and the size of the binary was 428 MB. How can ...
1
vote
1answer
41 views

Download speed slowdowns on Google Compute Engine file server

I did set up simple file server running on Apache (2.4) on one of my Compute Engine instances. The problem is the download speed for some people drops to radically low speeds. They do download they ...
1
vote
1answer
95 views

Apache2 / PHP 7.4-fpm not downloading files but displaying them in browser

Apache2 using PHP 7.4-fpm is not downloading files but displaying them in browser Take a look here https://www.files.olokos.pl/wl/?id=MCeDihTf5XvHq8RCqbh81rlRoAACLIL8 I am not sure what happened as ...
0
votes
1answer
101 views

Windows Server 2019 file snapshot

Is there a way to recover data files that are accidentally deleted on a Windows 2019 Server file server? We have a pair of Win2k19 servers running DFS-R and sharing the folder for departmental data ...
2
votes
2answers
2k views

How can I get docker build to overwrite a file?

It seems that docker build won't overwrite a file it has previously copied. I have a dockerfile with several copy instructions, and files touched in earlier COPY directives don't get overwritten by ...
0
votes
1answer
34 views

What files in node.js do I need?

I am planning to download node.js onto my server. I already have all the node_modules I need elsewhere. Does this mean I can delete the folder called node_modules in nodejs?
1
vote
0answers
26 views

Browse files on partially formatted drive

So I had a customer come in for data restoration when they had an installation fail which resulted in partial data loss. When booting into a live USB on the machine the drive shows up with lsblk as ...
0
votes
0answers
14 views

How can I find the charset an executable was built with on Windows?

I need to see the supported charset of a particular executable in Windows (in other words I need to know if it was built with ANSI, UTF-8, or UTF-16 charset). What utility can I use to determine this? ...
0
votes
0answers
43 views

Process Monitor(Procmon) on Windows Server

I am having issue in one specific file which is used by Operating system and it seems to be locked and doesn't give access to my database. Since file is inaccessible by database, query/job/...
0
votes
1answer
307 views

How to split a file with round robin

I am reading the split --help but I am unsure how to execute this command with the round robin feature, can someone please give me an example Usage: split [OPTION]... [FILE [PREFIX]] -n, --number=...
-1
votes
1answer
26 views

Maximum Image Files Stored In A Directory [duplicate]

I've built a blogging system which allows multiple short posts to be added daily, each with a photo to represent the article content. So each photo is in JPG format and a max width of 280px, but a ...
0
votes
1answer
3k views

Powershell compare-object select results from both sides

I have read many example of comparing two objects, lists, arrays etc. What I can't seem to find or do is after comparing the objects and finding which one are equal, output some properties of BOTH ...
1
vote
1answer
212 views

How can I store the output of a Linux command in a Puppet file?

I want to create a new file on a specific Puppet agent and store the output of a Linux command to the file. Is there an easy way to do this with the content attribute? The command I want to run is ...
1
vote
2answers
294 views

Shell Scripting and Types of Text File Output RE: msinfo32

I ran the following script in my Windows 10 command prompt msinfo32 /report mysystem.txt, which saves all the system data of the machine in a single text file. However, when I ran strings on the ...
0
votes
3answers
143 views

Argument for providing 200 response on non-existent file

Does it ever make sense for a server to provide a 200 response when a GET request is made for a non-existent file? Shouldn't the response always be a 404? Here's the response header: {'Date': 'Tue, ...
1
vote
1answer
91 views

AWS file strategy when reading large files that don't change often

We have a web (Rails) application where a small number of somewhat large (1 - 10MB) business logic files can be uploaded by administrators. The content files will not change frequently, maybe once a ...
3
votes
1answer
192 views

Not sure how to read lsattr output, where can the legend be found?

When I run the lsattr command, I get the following output: root@swarm-stg-01:/etc# lsattr timezone --------------e--- timezone But I don't understand how to read he output and man command doesn't ...
0
votes
2answers
123 views

.htaccess password protect a file in a certain directory

I have files with the same name in different directories on the serves (example: stats.php), and I want to password protect some of them (.htaccess file in the root directory). I tried "FilesMatch" ...
-4
votes
1answer
75 views

Rename and replace parts with different filenames [closed]

I know there are different questions about this topic but I have found nothing that fits my question: I want to replace a part of a name in a folder but there are different files with different names....
0
votes
1answer
543 views

NGINX Not showing directory contents

I have some trouble with NGINX on my server. I previously used Apache. When I try to request folder contents on my server (like, 192.168.0.128/files), I get a 403 Forbidden error. Anyone know how to ...
0
votes
2answers
193 views

Windows search cannot find files in current directory

We have a windows server 2012 r2 that has the file server role and windows search installed. The drives with the shared folders are indexed and the shares folders are mapped on all clients. I can ...
0
votes
1answer
10 views

find: equal file size limit but different unit returns different result

I noticed that the these two commands to list files below 5 GiB produce different results: find . -type f -size -5368709120c find . -type f -size -5G Specifically the one that uses kilobyte unit (...
1
vote
1answer
504 views

Files Not Appearing in S3 File Storage Gateway Bucket

I created an AWS S3 File Storage Gateway and mounted it to a Linux server on-prem. On that same server where the file gateway is mounted I have a separate NFS share mounted. My goal is to copy files ...
1
vote
0answers
72 views

Restore AWS Storage Gateway Server

I just setup an AWS File Storage Gateway server on-prem. I was able to connect it to an S3 bucket and I can mount it as an NFS share to Linux servers which is great. My concern though is this - if for ...
0
votes
1answer
248 views

extend file system size on cloud server

On my 1and1 root cloud server I'm trying to extend my file system size after an upgrade. I should have 120gb instead of 70gb. I'm not very experienced with filesystem extending I'm on Ubuntu 16.04.3 ...
0
votes
1answer
63 views

Migrate over 1 million file with ~150 GB from 1 server to another

Tell me Guys, how would you transfer more than one million files, witch have a summarized size of about 150 GB from A servers (KVM) VM to another (let's call it B, XenCenter) servers other VM in ...
0
votes
1answer
53 views

How to back up MySQL data files directly (physically) yet consistently on Windows?

MySQL comes with "dump" commands and utilities that convert a database to text form and store that text somewhere on disk. For a large database, converting to text can be a slow operation and generate ...
0
votes
3answers
424 views

offload serving dynamic files from app server to nginx

I'm using Nginx as Reverse Proxy for my App Server. The App Server receives file download requests via this route: /files/:id Then the app finds the file path on the File System i.e. /path/to/file/...
1
vote
4answers
256 views

why does a file sometimes appear empty when being written to by another process

We have a situation where files are uploaded to a folder by FTP and then served by nginx. We've found that if the GET request immediately follows the modification of the file nginx returns files with ...
0
votes
2answers
62 views

Windows - How to allow clients to access their files across all machines connected to AD domain?

I have a Windows Server 2008 server and have Windows 7 client machines. Is it is possible for all clients to log in to their accounts on any computer in the network and be able to access their files/...
-2
votes
1answer
42 views

Deleting orphaned .msp and .dll files

I have two terminal servers that I need to clear room off of. I have 35.8gb of .dll's and 15.5gb of .msp's. I need to clear these en masse, as there are literally thousands of files that I would have ...
0
votes
1answer
2k views

Make IIS server max_file_upload size 10GB

I am working on a website that is hosted with the company's own server, using IIS. I was wondering if it's possible to make the make file upload size 10GB? Their assets they send and receive to ...
0
votes
1answer
56 views

Can the last modification date of standalone.xml file be changed alone?

In our production envirement (jboss wildfly 8.2), Windows server 2012 R2, I noticed that all of the date of creation, modification and access of the configuration file Standalone.xml was changed to ...
1
vote
0answers
22 views

How to find complete installer location which is installed using small size initiator .exe on Windows 10

Some time companies give small setup.exe file, for example 2 MB .exe of Kaspersky which we run and that will connect to the company server, download complete installer/setup and install the software. ...
0
votes
0answers
94 views

How to search for all files owned by a particular user in SAN

My question might be confused you but honestly that very straight forward. I have a SAN with many terabytes of data. All users have their own home directory or share directory on that (And most ...
19
votes
7answers
3k views

Linux mv file with long name

In Linux I sometimes rename files like this: mv dir1/dir2/dir3/file.txt dir1/dir2/dir3/file.txt.old Note that I want to just rename the file, not move it to another directory. Is there a command ...
0
votes
1answer
20 views

compare 2 directories with different files names and locations of the files

I'm currently having 2 (top level) directories with a lot of sub directories and files. There are a lot of duplicate files between those directories but there is one problem with it, the names of the ...
0
votes
1answer
26 views

Remove files from directory path B which are not found in path A on Linux

I have two paths on same system for example: \mnt\a\data \mnt\b\data There are some directories and/or files in b\data which are not present in a\data. How can I remove those extra directories and/...
-1
votes
1answer
186 views

Sync files between centOS (ec2) & a NAS

I have made a cronjob, that takes backup locally - of some diffrent files. But i would like to have them copied to a remote server aswell. The problem is the "remote" server is a NAS server, and im ...
0
votes
0answers
460 views

Copy file from remote SSH to local without SSH client on remote

Suppose this setting: Full access on local machine The proxy server is accessible via SSH but only allows 2 specific commands: exit - closes the connection ssh remote - establishes an SSH connection ...
0
votes
1answer
266 views

ls *.csv --ignore=“*pattern*” returns files which contain “pattern”

Why does ls --ignore not ignoring the pattern? Looking at the below example: mkdir books cd books touch books_abby.csv touch books_karen.csv touch books_david.csv touch books_tom.csv This creates ...
0
votes
2answers
80 views

ubuntu - get size of directory of empty files

I am testing a flat design to be used instead of sql db, it uses a nested directory structure with files. First I was thinking to store the data inside of the file but it's not more than 40 sign per ...
5
votes
3answers
245 views

Can I validate a large file download piecemeal over http

I'm downloading a large file over http via wget, 1.2TB. The download takes about a week and has contained corruptions twice now (failed md5 check, which takes days to run by itself). Is there a good ...
-1
votes
1answer
93 views

How can I check that all files on copied partitions are OK? [closed]

I've moved my OS and copied another data partition to new SSD with AOMEI Assistant's "Migrate OS to SSD" and "Partition copy" respectively. How can I check that every copied file and partitions in ...

1
2 3 4 5
13