how to process folder (for example training folder) and subfolders(which are the classes,contain images) in google colab and save them in google colab - directory

How to process a folder with, for example, it contains 100 subfolders which contain ten images each subfolder and after processing(any changes) save the image in another place (in colab).
I can do it folder by folder, but I want to process all subfolders at the same time, for example, cropping all the images in subfolders at the same time

Related

Dynamic Creating folders inside folder constant like Share point or Google Drive in Next js

I'am newbie in next js, I trying to create project like Share point that i can create folders, inside a folder are able to create new folder or upload files and inside {this} folder are again able to create folder and upload files.
I can't find another similar scenario online
After clicking the folder (<a></a>) query new params in the url using router.push() without refreshing the page.
from share point

Downloading content of all files held within a parent folder on IPFS

Say an IPFS folder contains (or rather, "points" to) several files. I wish to download the content within all of those files in one process, instead of making an individual HTTP request for each file within the folder. Traditionally, you would simply download the parent folder/directory, and in doing so, you would download the content of all files held within that folder/directory. Is it possible to do this with an IPFS folder? If so, how?

Is it possible to use rsync to sync all files of a given type recursively?

Every iOS device we have automatically uploads photos and videos to its own folder inside an SMB share on our Ubuntu box.
On my mac, this would be /Volumes/Ironman/familyMedia/<iosdevice>
So each device has a folder under /familyMedia
If I wanted to move all of the video files from each device's sub-folder into a single folder: /familyMedia/videos while preserving all of the meta data and date information for the file (rsync -azvp), could I do this with rsync.
Basically rsync would find all *.mov files in the familyMedia folder structure, recursively, and move them to one folder.
Possible?

When people mention storing files on the File System, is that referring to a folder within the app?

I need to store pdf files that will keep increasing with time on a folder for my app. But I'm not sure which method is consider 'good practice' between if I should store it in a folder within the project architecture (i.e. inside Content folder) or in a folder outside the app. I tried searching online but most people just mention 'File System' and don't give examples on where do they store it.
So my question is, when people mention storing files on the File System, do they usually mean storing it in a folder inside the app (like Content folder) or do they mean storing it in a folder outside the app?
For example: let's say my apps folders/files are within the container folder: /Container/AppFolder/. Should I store the pdf files on the apps Content folder (i.e. /Container/AppFolder/Content) or should I create a new folder OUTSIDE the apps folders to hold these pdf files? (i.e. /Container/PDFFiles, so basically two folders within the container folder - one folder for the pdf files and the other folder for the app)? Which one is consider a good practice? I have considered just putting these files on the Content folder but as the amount of files keep increasing I'm not sure if is bad practice.
Thanks in advance.
You can put it where ever you want on the server, the program will just need proper permissions to that location (I use the IO namespace). However you should put thought into how to organize the files and folders. Is each file to be tied to a specific ID or just all in 1 folder? Think of things you'll need to handle like invalid file names (special characters), duplicate file names etc. Is the location strictly 1 way (upload only)? Or are you enabling download functionality? If you have download functionality stress security, probably creating a download.aspx page specifically for handling download requests and authentication.

How save project or website in one folder?

I want save a website but it's save in two folders. first folder contain .sln and second folder contain .aspx , app-data, webconfig.
How do I save all of them in a single folder?
This is image of my computer:

Resources