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.

Filter by
Sorted by
Tagged with
5
votes
2answers
63 views

Getting error -1426 when trying to transfer files from iPhone via iTunes File Sharing

I'm getting error -1426 when trying to transfer files from iPhone via iTunes File Sharing. I'm on iOS 12.4 and macOS 10.14.6. iPhone is XS Max 256GB and Mac is MacBook Pro (Retina, 15-inch, Mid 2015) ...
0
votes
1answer
51 views

Changing date created of bulk files to 9 hours before

I have 3000 files which all have different dates in which they were created. For example a file has a date created timestamp of: 1 August 11:05. How can I use the terminal to change the timestamp to 9 ...
4
votes
4answers
83 views

How to prevent macOS from putting icons on some areas of the desktop?

I have a 49" 5120x1440 ultrawide monitor with some windows always open on the sides and I don't want any kind of item hidden behind them (for example, mounted external drive, downloaded/copied file, ...
2
votes
1answer
29 views

Locked file that I can't remove

Long story short, I downloaded a file as a replacement for an app that no longer works on Catalina (macOS 10.15). This file is locked, and I cannot chmod it to let me unlock it. Even sudo fails. I ...
1
vote
2answers
117 views

Free space in iCloud not less even after having deleted all files in iCloud Drive

I have moved all the files located at "Documents" and "Desktop" folder to /home/tmp folder. Also I have deleted all the files in icloud.com, but whenever I check the iCloud Storage, it's still the ...
0
votes
1answer
31 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
79 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
44 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
23 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
3answers
108 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
33 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
36 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
35 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
131 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
15 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
78 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
37 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
38 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
866 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
1k 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
395 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
109 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
22 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
2k 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
41 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
28 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
136 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. ...
5
votes
1answer
1k views

Extended attributes reappear when reconnecting external drive

Some files on my external drive appeared grey out. Hence, I removed all the extended attributes using xattr -rc command which successfully does the trick and all my files appears normal. However, ...
2
votes
3answers
68 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
32 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
36 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
5k 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
141 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
437 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
899 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
120 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
3k 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
235 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
138 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
309 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
407 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
6k 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
38 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
119 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
2answers
53 views

How can I see which files I used some days ago? [closed]

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'...