Questions tagged [file]

A resource for storing information which is available for a computer program. Computer files can be considered as the modern counterpart of paper documents.

0
votes
1answer
23 views

How To Keep 2 Folders In Sync Real-Time?

I would like to keep Keybase data folders backup up to my local computer with some kind of real-time file sync solution. Every time Keybase is opened, any local files sync to Keybase associated ...
2
votes
1answer
71 views

Rename file names in directory to creation timestamp with second precision

Is there an easy way to do this for files in a particular directory - to have their names be renamed to the file timestamp, with seconds level precision Clarification: For example, suppose a (Mac ...
0
votes
0answers
33 views

“Open with <application>” not working properly

I've noticed that when I try to open a file in any newly added applications, the application opens, but not the file. I've noticed this problem with multiple Wine versions, and also web-based games. ...
0
votes
0answers
19 views

Use automator to download csv-reports form a password protected website

Square Dashboard is a website for Square POS, on that website you can download sales report of the day. You need to sign in, go the a specific category, select one of the locations for the sales ...
0
votes
0answers
25 views

Cannot Delete Directory (Advanced Mac Tuneup) Even with Sudo Commands in Terminal

An adware virus disguised as Adobe Flash update installed an app called Advanced Mac Tuneup. I deleted the app but some associated files still remain. The command sudo rm -rf NAME returns the message ...
0
votes
3answers
75 views

how can I delete a pkg file on a mac?

I have a .pkg file for Malwarebytes on my computer. I can't send it to the trash nor delete it in any other manner. I would appreciate any suggestions.
0
votes
0answers
31 views

What process is changing my file permissions?

Every once in a while, I notice that something must have recursively changed all my files' permissions in my home directory to go-rx — so I do: $ find . -type f -exec chmod go+r {} \; $ find . -type ...
1
vote
0answers
29 views

Recover deleted file by inode

I had a crazy file named ''$\r' that I wanted to delete by inode. So I googled how to do it and found an example. Being half asleep and a few beers in, I typed in the inode in the example: find . -...
0
votes
1answer
25 views

Restore file to previously saved version?

Hey guys so I was using Xcode as a text editor to write a C code, and without paying attention I deleted the whole code I had on the file and somehow it got saved that way. When I noticed this (the ...
0
votes
0answers
31 views

Where could I check to remove temp stored personal files

Do Mac's save any cached versions of files so that if using someone else's laptop or borrowing own laptop to a relative for temp usage need to be aware to remove to avoid personal info being seen? E.g....
1
vote
1answer
113 views

Why is Mac OSX temp. directory in weird path

Comparing to Linux systems OSX default temporary directory seems to be in a weird path. I want to know why that is, at least how is this organized. Here are my observations: My echo "$TMPDIR" ...
1
vote
0answers
42 views

College's files in my trash can?

A few weeks ago, files appeared in my Trash Can. I didn't really look into it and keep thinking it was just temporary files that I deleted myself while working. But after a while, I opened those ...
0
votes
2answers
30 views

How could I check the number of files in a folder without counting them?

Is there a way to check the number of files in a folder on MacBook, other than manually counting them?
1
vote
0answers
14 views

How does one separate a Numbers spreadsheet with multiple (4) tabs into separate files?

I have been given a spreadsheet with 4 separate tabs/sheets. I would like to separate them into different files. I know that I can cut-and-paste and create new files but is there a simpler/easier way ...
0
votes
0answers
30 views

Finding a file in Finder with a script

someone please explain why this won't work. The script alone without the "if mainReturned = "File" then" works just fine but when I add it to another part of a script, things get weird. It highlights ...
3
votes
2answers
76 views

How do i delete a group of files ending with specific characters?

I'm trying to delete files that end with "_n.png" or "_s.png". How do i do that?
1
vote
1answer
35 views

Why doesn't spotlight return this file?

I am on macOS High Sierra 10.13.3. I created a file with Python but when I search for its name inside Spotlight (or Finder), it's not there. When I os.getcwd() and manually follow its path, it is ...
1
vote
1answer
36 views

Find files with the same content in one folder (and all its sub-folders)

Say I have a folder named container and there are many files/sub-folders in it. I would like to find all the files with the same content (they can have different names but the content should be the ...
6
votes
1answer
592 views

How to determine which process is creating a file?

Two files have suddenly appeared in my home directory, called "aa" and "err". They are empty. I'm wondering how they got there. I deleted the files and they are created again after some seconds. Is ...
2
votes
3answers
630 views

How can one save a file as plain text in TextEdit? [duplicate]

I'm not seeing an option to choose plain text encoding (.TXT extension) when saving a file in TextEdit.app in macOS. My documents seem to all be rtf - rich text format. How can I change this?
0
votes
1answer
333 views

Automator SCRIPT NEED: Select part of name file, find file with containing name, then copy this in item in another folder

I have 3 folder: JPG folder: contains my modified JPG files, the name of file is (examples): DSC02996 20181027 201438 (LR).jpg RAW folder: contains my RAW files, the name of file is (examples): ...
1
vote
1answer
83 views

Make the default location for all save and open actions Google Drive File Stream

Using macOS Mojave or High Sierra, is there a way to change the default file location for all save and open actions to Google Drive File Stream? On Windows I would change it in the registry to g:\...
0
votes
0answers
21 views

Spotlight is disabled but “._file_name” still get created on external drives that I plug in [duplicate]

I want to prevent my MAC from creating ._file_name files on external memory drives that I plug into it. I think I've turned off Spotlight completely. However, such files keep getting created. How to ...
3
votes
0answers
1k views

Sorry, PowerPoint can't read <file name.>.pptx error when trying to open a powerpoint autorecovery file

I was working on a powerpoint today, and then my document wouldn't let me save, and I ended up overwriting the file with a blank presentation. I don't remember the details of how that happened, but ...
1
vote
1answer
33 views

What's the `._xxx` file in macOS?

I created a index.php file under my phplessons directory: before I used the phpStorm to open the directory, Apple's Text Editor opened it, now I have phpStorm open, but there is a ._index.php file ...
1
vote
1answer
2k views

Fine-tuning “Open safe files after downloading”

Is it possible to fine-tune the "Open safe files after downloading" setting in Safari? For example, to make Safari open files like ".ical" et. al., but not Zip-files. If macOS has no built-in support ...
2
votes
0answers
27 views

File's App Icon No Longer Displays

I'm a developer and use a framework called "JUCE," and the associated application with JUCE is the Projucer. Projucer uses .jucer files. Previously, the app icon would show up inline with the file ...
0
votes
1answer
93 views

How to count the number of files and folders in iCloud Drive?

I have subscribed to a 2TB iCloud Drive account and uploaded several 100k files from a Windows 10 PC. During the upload, that took several days, the PC crashed and restarted for some unknown reason. ...
2
votes
3answers
66 views

Terminal command for removing all named files except for one

In Terminal.app, how can I delete all files of a certain name except for one extension? For example if I have: File.docx File.ppt File.pdf File.xlsx File.out File.app FIle.otherextension File2.docx ...
1
vote
1answer
31 views

Is there are a simple tool to organize photo based on date?

I have lots of photos and most of them are in unordered folders. Is there a simple tool (no batch script) which can just read those images and based on EXIF date put them in a date based folder? ...
3
votes
1answer
27 views

Application opens twice when file specified

Typing open -a emacs opens one window. Fine. Typing open -a emacs foo.txt opens two windows, one as above, and one with foo.txt in it. Why is that and what should I do to fix it?
1
vote
1answer
4k views

Open a file with spaces in the name in Terminal [duplicate]

How do you open a file which has spaces in the filename using Terminal on Mac? I've seen some pages that say type: "open FileName" and it works for files that are one worded. But I would like to open ...
2
votes
2answers
130 views

Copy full path of an open file

I have a file open in Preview.app. I can easily view the full path for the same by ⌘ + clicking on the file proxy icon (the icon shown besides the filename in Preview's title bar). How do I copy ...
4
votes
2answers
371 views

Finder file size easy way

While showing items as icons (not in a list, in columns or wit cover flow). In order to know file size I right-click the file then select Get info then a window opens full of info and I have to look ...
12
votes
1answer
898 views

How stop my IDE from showing hidden files on Sierra?

I have disabled hidden files in the Finder on macOS Sierra, but they still show up in my text editors, such as Visual Studio Code, Sublime Text and PhpStorm. I have already tried defaults write com....
2
votes
1answer
115 views

New file/database in OmniFocus 2 for macOS

When first starting to use OmniFocus, it opens with some example data preloaded for practice. Am I supposed to delete that bogus data, and continue to use that existing file/database for my own data?...
1
vote
2answers
2k views

Greyed out/inaccessible files on File Sharing server on Mac OS

My company has a single file sharing Mac Pro computer that every user connects to. Occasionally a user will drop a file in a folder for another user to access, but the the files will be greyed out and ...
0
votes
1answer
214 views

“can't get alias”?

I have the following script that I want to use to change a single string in a Pages file to another, and it bombs with can't get alias. How do I fix this? tell application "Pages" set MYTESTFILE ...
2
votes
1answer
129 views

Path bar High Sierra doesn't work with search results on SMB fileserver

Yosemite High Sierra Hi there! At our Prepress department I’ve updated some iMacs from Yosemite to High Sierra. When I search in Yosemite on the SMB fileserver for a specific file, I see after a ...
1
vote
3answers
228 views

How to obtain a list of files contained in a folder (as a text file)

I have a huge folder containing musical scores and books (mainly in .pdf). I would like to create a text document (TextEdit will do just fine) which contains the complete list of the folder's content ...
4
votes
1answer
338 views

How to change multiple file type associations on the Mac at once?

I want to change my default media player in macOS. (In my case, I want to change it to my own AppleScript-created instance of VLC that I exported as ‘VLC-New-Window.app’, which is scripted to always ...
2
votes
2answers
5k views

Recents not updating with new files in High Sierra

There has been a lot of wingeing over the loss of "All My Files" in favor of "Recents" in High Sierra, and I am beginning to understand why. For one, it seems to be an opaque tool and I have yet to ...
0
votes
1answer
37 views

How can I pad a file to make it a specific size?

Is it possible to modify file size attribute in Terminal? seems my dash cam only recognizes video files with the exact size of 419,430,400 bytes. My video file is much smaller than this, but in order ...
1
vote
0answers
110 views

How do I open a .prl file?

What program can I use to open a .prl file? I want to view the preferred roaming list from my carrier bundle, but I don’t know which software will open this file.
2
votes
1answer
41 views

How can I see which files I used some days ago?

I had a telephone conference days three days ago. I took notes while talking and now I can't find them. It could be that I just tipped them into an open document or maybe I created a new one and didn'...
4
votes
2answers
233 views

Built-in or FOSS GUI application for generating a file hash

I would like to know if there's a built-in GUI application in Mac OS X that can generate file hashes (Disk Utility?). If there isn't such a built-in application, does a FOSS alternative exist? I can ...
9
votes
1answer
7k views

What will occur if the .DocumentRevisions-V100 folder is deleted?

This post concerns the folder located at the following file path: /.DocumentRevisions-V100 I right-clicked this folder in Finder.app and selected Get Info. After several minutes of waiting, the "...
2
votes
0answers
206 views

._ .DS_store files and so on when syncronizing cloud drive services

Is there a way to prevent Dropbox, or any other cloud service, from synchronizing those ._ and .DS_store files, although they exist in the Dropbox folder?
2
votes
0answers
597 views

security IOS Copying File Signature [closed]

Okay I am attempting to Push a Modded IOS over to my device. It is an older Device Running IOS 9.3.5. I have by passed All other Security Measures, however When the Kernal checks the File Signature it,...
3
votes
1answer
34 views

How do Icon? files work and how to create your own

I recently noticed that in folders with special icons (eg. on the desktop) have a file in them named Icon? (its a hidden file btw). I tried opening one up using my text editor (Atom) and it comes up ...