Android? you mean iphone maybe. i can directly access the file directory of Android both from an app or from my PC with a USB connection.
That file directory is a hot mess, though.
yeah, i figure I’d kill myself if my PC was structured like that. but for a phone it does the job and if you need something it’s not that hard to find it really.
Many have gone looking. Few have returned.
I use a little app called X-plore. Gives me treed lists of folder contents and allows moving, copying, and deleting stuff.
Total Commander with LAN, FTP and WebDAV Plugin enabled is really useful (if you’re using Android)
must be hard to find the download folder
- the upload widget when trying to find that PDF you just saved
I really lost my shit when Firefox downloaded some Belfort & Lupin subtitles and I could not for the fucking live of me find them.
Turns out it put them in the “Movies” folder instead of “Downloads” where it actually put the corresponding video files.
sounds like your pitiful mind cant understand the unix file oriented philosophy and you should stay 10 feet away from all information technology /sarcasm
It has very little to do with unix philosophy
yo that’s the joke i was making XD
now look here you little… oh actually it would be nice to get away from tech honestly…
Technology and sarcasm?!?!
I’ve got a bad feeling this might catch on…
Luckily, we technology enthusiasts are all special snowflakes and don’t engage in anything as banal as copying other people.
Luckily, we technology enthusiasts are all special snowflakes and don’t engage in anything as banal as copying other people and sarcasm :)
Well said, o7
I’m never sarcastic.
Luckily, we technology enthusiasts are all special snowflakes and don’t engage in anything as banal as copying other people and sarcasm :) :)
This is a real problem with young people coming into the office. They don’t know how to navigate a file system. They’ve never had to do it.
No, it’s a file system issue. It randomly makes folders and decides where to put things. A photo could be in the dcim folder, a photos folder on my outside card or a photos. It may or may not be in recents.
I’m saying that people who have grown up in the world of smartphones and apps are used to files just going into the ether and the app knowing where it is, and they never learned how to navigate a file system.
I know what you were saying.
I suppose those are the same people who make a full screen screenshot in order to share a picture.
No, they’re taking a picture of the screen with their phone.
dont forget on some phones OS, you can actually pick and choose the download location. After you downloaded though, the files arent there…
Had to question my sanity many times…
I thought I was losing it because this app wanted to save things to a “downloads” folder. Only to find out it saves it in something like
documents/app name/downloads Instead of
Downloads/
I can find files just fine on my Android phone, BUT when saving files on my iPad this meme would be true.
I was editing a document on my iPad, saved it in a folder labeled ‘documents’, searched with the files app and the document folder wasn’t on my iPad or iCloud.
Come to find out the app itself made a folder named documents within itself. So in order to get it on my iPad itself i had to share the file to dropbox then redownload it 🤨
Yeah, developers can’t access those folders without some super specific permissions, so most just use the dedicated app folder.
I have learned the horrors of Apple since getting this thing. Like it for drawing and 3D sculpting, but that’s about it.
You should see how much developing for apple hurts when using a multiplatform ecosystem.
In Flutter for example, there are entire documentation sections on “Apple is incredibly stupid and needs special care”
I can only imagine how painful it is for those developers
Ohhhhh yes. Flutter + Apple has tested my will to live multiple times.
Oh, so you are a grass trainer? Why, I often roleplay as a Shaymin
How many gym badges you got??
Why would I have gym badges?!?
Home puter is a Mac which I only use for the Logic DAW but they have a primary app called Finder which has never found anything I asked for. Its a Finder that doesnt Find.
F
Same, I always have trouble with finding saved files on ipad/iphone. Often it saves a pdf as “document”, and overwrites the previous download with similar name.
That’s annoying. I have not yet had the displeasure of experiencing the overwrite problem, but i am sure it’ll happen soon enough. Thanks for the heads-up!
For real? Never used Android, but isn’t it built on Linux? It doesn’t use the same path /home/username/Downloads?
It doesn’t use the same path /home/username/Downloads?
Same as what? That isn’t a default path for anything in Linux either. It’s a convention that browser follows though, on Windows and Mac too.
It does not, but on all of the Android devices I’ve used there’s simply a “downloads” folder in the root location (or what is exposed to the user as root location, anyway) where downloads go by default. From web browsers, at least.
The problem is that where things are saved is more or less up to the developer of the app in question, and sometimes they make some very nonsensical choices. The app could create a folder for itself in root, or it could create a folder for itself in “documents,” or it could simply park things in one of the preexisting userspace folders. Or it could bury the file it just created in /Android/data/com.appname.fd6bca3/files/0/dl/, and it sure as shit won’t tell you nor give you the option to put it anywhere else.
Get a file explorer. Mine has a “recent” tab where all the new stuff is. I can also move or copy files easily. Vanilla explorer is not very good but it does have the basics covered. It is annoying not to have a system-wide download dialog though.
I suspect part of why google’s app is subpar is to promote their cloud storage.
I use Root Explorer.
A shocking number of Android devices ship without a file browser installed from the vendor at all. If you want one you have to install it yourself. This is baffling to me.
That’s fucked, the more android progresses the less usable it becomes it seems. Even budget 2.3 phones had it built-in afaik
It’s built on a , by now very modified and incompatible, Linux kernel. But not a GNU userland at all.
deleted by creator
It’s built on a , by now very modified and incompatible, Linux kernel.
Which is also forked again by various phone manufacturers that make their own modifications on top of it.
It’s basically a jvm that runs on the Linux kernel.
Don’t know what this meme is about.
Everything I download is in my downloads folder. Good luck finding the downloads folder path in IOS.
That was a problem for years. Apple didn’t make the Files app to navigate the filesystem until 2017. It’s fine now, but it was absurd for sure.
When I say monkey you say blunt.
Monkey!
Blunt!
Go Zip!
I find it funny that there’s a bunch of people here who know how to use android’s file system. Like, of course the Linux nerds figured out how to use it (and I love you all the more for it)
Varies a ton between apps, some use private app storage on Android too (only accessible with root) or in appdata storage (restricted to system apps), or in scattered folders under the regular “user data” folders (easiest by far)
Bonus points if you have an SD card, double bonus points if you manage to have 2 of them, because then you have multiple copies of these standard user data folders
MediaStore recreating the standard Android library folder layout on my SD card no matter how many times I deleted them was infuriating.
It’s one of the most frustrating things ever. Anyone acting like navigating Android’s files is anything similar to navigating any desktop computer’s files needs some perspective. “You said this is difficult, but for me it’s easy, therefore it’s actually easy.”
I really do wish that more packages on Linux had installation paths clearly noted in a readme.
I’ve been using Linux daily for over a year now and I still have a hard time tracking down config files and install paths. Its just not one of those tasks I do regularly so I always forget best practices when trying to find stuff. The CLI always gives me the best results but getting the commands right can be tedious.
I’ve started saving useful commands in a note on my desktop.
i just give up after a couple of minutes if it isn’t somewhere obvious and then search my whole system with grep lmao.
how wonderful to live in a world where compute is so cheap.
Amateur. I read the source on GitHub to see where it’s saving that shit.
Which readme?
The one on the github that has out of date instructions and tells you to check the discord?
The 6 year out-of-date one on your distro’s wiki?
or The gnu-info/manpage that is only for the original upstream and doesn’t tell you where all the files have been moved or that half of the software isn’t actually installed since it was split out into extra packages for justdebianthings
To be honest, sounds like you aren’t using arch btw. Jk I have the same issues on arch
I’ve started saving useful commands in a note on my desktop.
Great idea
hard time tracking down config files
Usually under ~/.config/<app> or ~/.local/share/<app>
Or ~/.<app>
Often also in /etc/
Every time I touch a config file/setting I document it in my notes. I would be lost without it.
Suprised nobody said to use whereis xyz
As a long time linux user, I think all programs should have a config gui. (Not all, but you get what I mean)
I think it should be GUI config or detailed man page/readme. The amount of assumed end-user knowledge by devs is way too high.
dpkg -L package-name
Or the inverse
dpkg -S /usr/bin/somefile
For apt based distros, obviously.
This does not return all “config files and install paths” as it only ever considers files that came in the package, not files created by the package (such as /etc/samba.smb.conf, which is created during installation), so doesn’t actually solve the problem.
That limitation should’ve been made clear in the advice itself so as not to send users that don’t know better down dead ends, though the subsequent discussion between this and the previous user is a great illustration of how the way some give Linux “advice” just ends up frustrating those seeking advice.
(It even eventually frustrated me because over the years I’ve had to teach plenty of junior developers to not give advice like that, only they’re seldom so bad that they insist they actually know what the other person wants even in the face of a user providing proof that they do not)
I just tried this with Samba (so
dpkg -L samba
anddpkg -S samba
, and I also tried addinggrep "smb.conf"
and running it with sudo) and I was unable to find the share config file.It’s located under
/etc/samba/smb.conf
but that command was returning a path under my local user. This is on UbuntuYou might want to look into the locate package (it might be called mlocate) if you can’t find a file. It can be helpful.
dpkg -S
requires a full path like the example I gave.dpkg -L samba
should work fine. What is the error you got?No error or anything, but it just doesn’t have the
/etc/samba/smb.conf
file. Just doesn’t have it.dpkg -S samba
does find/usr/share/samba/smb.conf
which isn’t the right file either.This is a good argument for shipping an empty config file.
Your point stands, but this also isn’t completely unintuitive. There is pattern there: you installed
samba
and the config is in/etc/samba/
. System level installs will almost always install their config in/etc/
and the sub directory will typically match the name somewhat.There is likely a general thought that if you’re going to administer a samba server, you’ll also be comfortable with conventions and man pages. Although, funnily enough, in the particular case of
samba
,man smb.conf
doesn’t show the path lolThat’s the thing though, when you install Samba it does create an empty config file at
\etc\samba\smb.conf
, or at least I’ve never created oneI see why it does this now. Debian does
CONFIG=/etc/samba/smb.conf # stuff ucf --three-way --debconf-ok /usr/share/samba/smb.conf "$CONFIG"
in the
postinit
inside the.deb
file to create the/etc/samba/smb.conf
file. They do it this way so they don’t nuke an already created file. I take back that they should be shipping an empty file, this way is better, but it also means you’ll never be able to query it without some changes to the packaging tools.The man page should mention the path though that’s a bit lame.
You’re confusing the command again
-L, --listfiles package-name... List files installed to your system from package-name. -S, --search filename-search-pattern... Search for a filename from installed packages.
dpkg -S /my/file/path
Finds which, installed, package installed the file.
dpkg -L samba | grep .conf
Greps through the list of files installed by a given package.
If the file you want isn’t in there then it wasn’t installed by the package itself (could be created on the fly by the binary for example), in which case obviously the package system can’t track it.
Oh I see, this command didn’t really do what I wanted it to do then. I just wanted to be able to see the locations of any files associated with a program. If I knew the file path I could just find them haha
dpkg -L PACKAGE_NAME
does what you want. In my initial reply I mentioned thatdpkg -S
is the inverse.
People can say what they want about Windows, having stuff installed in a folder called Program Files with sub folders using the brand/program name is so much simpler than whatever the fuck is going on on Linux.
WinXP times are long gone, my friend. These days I will sooner dig out where vim plugin source code resides on Linux than figure out config file location for a fucking game on Windows
Until an app decides to install in the hidden AppData folder with the confusing sub-folder names, or even the root of the user folder, or god forbid in a folder in the root of the C drive
I don’t remember seeing something get installed in appdata, but having other files it depends on in there sure does happen though
I’ve seen Electron based apps do this sometimes. GitHub Desktop, for instance
Oh right, it’s the only one I’ve seen doing it. You still get the prompt to ask where you want to install it and it just needs to not be in Program Files or you need to give it administrator access so it can update itself…
It’s pretty ridiculous
Also the two Program Files folders that have existed since the switch to 64-bit systems.
And third-party software installers that install stuff into their own secret places. Like Steam games.
For user specific files a lot of modern programs try to adhere to https://specifications.freedesktop.org/basedir-spec/latest/. You should set those environmental variables and check there first.
For system level… it’s definitely more complicated. I check
/etc
first and then then/usr
dirs. If you’re using your system package manager there is generally a way to query it for that information, but it’s typically CLI based.Or just use our lord and savior NixOS and configure everything in a single directory
It used to be so much simpler. I remember having a Galaxy S3 and whenever I saved a file I knew exactly where it went. There was a file explorer built in, and downloads went to the downloads folder.
Literally exactly how it still works.
Is that not how it still works? When I download a file, it either goes straight to the Downloads folder, or to an app-specific subfolder within Downloads. And there’s a Files app that lets you go through the file system (although I’m sure there are some system folders that aren’t accessible without rooting). I don’t think I’ve ever been confused about where a file is saved.
Thats my experience too.
i think there’s lots of different flavors of android or something, such that different phones handle the user-facing file system totally differently. it might also be that nicer phones the devs put more effort into making UX have a more forgiving learning curve but because android isn’t truly open source those developments are inaccessible to other users
That was Samsung doing the work of dumbing things down for you. Stock Android has always been fast and loose with the locality of saved files. Especially if you are doing anything with an image processing app. They tend to make their own dump folders and don’t bother telling you that they e made them in their own directory under the .data folder or someplace in .bin
You say ‘dumbing things down’ I say ‘that’s kinda condescending talk that implies that anything else isn’t shut when it clearly is’
File manager > Recent files
literally I’ve had files that file manager cannot see or interact with at all. I think they always came from termux, which is what I used to unzip zip files. Definitely in the right directory but just plain invisible to file manager and other apps.
Mes fichiers » fichiers récent
For any francos looking for this application.
Seriously, this thread has me very confused about how a social media platform seemingly inundated with nerds can’t open a file manager (which often comes pre-installed) to find a downloads folder.
It was a bigger problem when they first instituted private app storage and limited apps access to other apps data.
Eg. My dashcam app had an export button. The files went into that apps private storage which was unavailable to non-root file explorers even with permissions. The app had to change significantly.
Everything’s more or less playing well together now but people still have PTSD.
Recent files > move file where you want itfrom there
Meanwhile Windows; Hi, you saved a file earlier? Let’s search for it. Nope, can’t find it, do you want to search Bing? No? [A few minutes later] Ooo, so sorry you’re offline and can’t download it. Too bad.
Ios; you want to open the file in an app? OK, click 7 buttons and we’ll make a local copy stored in the app’s specific folder you didn’t know existed.
Chrome; what’s a file?
Linux; which file browser would you like to use today?
Funni, cause the comment below from AstralPath and lightnsfw tells a different story
Not my fault they choose to Linux on hard mode :p
Use a system indexer like Listary or Everything and you never have to worry about finding a file ever again, just type its name and it’ll be the first result
Everything is fantastic. Plus it can be integrated (somewhat) into Classic Shell’s search.
Windows is more like, oh that file you saved earlier? Yeah we moved that to OneDrive. You want it back? Sorry didn’t pay your OneDrive subscription fee, so you don’t actually have that file anymore. Hope it wasn’t something irreplaceable like your kid’s baby photos or anything lol.
You are just making shit up 🤣
Just pathetic stuff, missing up stories to simp for an OS.
I use Windows and have never encountered what you are describing.
none of my files have ever been ‘moved’ to OneDrive and none of my files that are on OneDrive have ever been locked behind a paywall.
deleted by creator
I often see people saying stuff like this that I never run into. I wonder if the difference is whether your OS is tied to a Microsoft account or not. I used an exploit to bypass the account requirement when I set up Windows 11.
deleted by creator
Well we all know OneDrive cost money but like you get 5 or 10GB free, and even then if you go over I’m 99% sure those files just stay on your PC.
But the moving files thing feels real. I remember testing out Fedora one time with a classmate who was trying to convince me to switch, and for some reason, even though I direct all downloads to the download folder, it was in my OneDrive somehow. So when my VM tried installing the iso, it was taking a million years to pull it from OneDrive.
Similarly, I didn’t realize my Documents folder was backed up on the Cloud, so I had to find the dumbass settings to turn off backups for documents and other shit besides pictures. This is one of those moments where I understand why Linux users love a CLI, because Microsoft’s menus are stupid to navigate sometimes.
The worst offender that I never managed to figure out was my ShareX files. It would save locally, but then switch to OneDrive for no reason, so my config and shortcuts would be lost, and the auto backups would also be lost. I fought with that thing for months, and only gave up cause I moved to Fedora Silverblue, in which Linux unfortunately has no app that is nearly as good as ShareX.
If you save some files on the desktop or documents, and OneDrive activates it’s backups later, it will forcefully move your files to the cloud.
And if you’re not a paying customer and have gigabytes of data, it will shit itself midway to bark at you to pay up because your free 5Gb is up.
Now, a normal, regarded dumbass (the target audience) would just pay the tax, but if you have an IQ above that of average coral reef you can take your data back by quitting onedrive, copying everything back, and disabling onedrive backup.
deleted by creator
Linux:
ls
cd directory
ls
cd directory2
ls
cd directory3 …
On linux you don’t search, you
find
That’s a good one :)
Oh boy do I have a
tree
to sell you
deleted by creator