Skip to main content
Share Your Experience: Take the 2024 Developer Survey
36 votes

How to save all files/links from a telegram chat/channel?

You can do it from Telegram Desktop. Install it (you have a portable version for Windows if you prefer it) and log in to your account. You will see your chats and channels. Enter the desired channel....
cdlvcdlv's user avatar
  • 1,571
31 votes
Accepted

PowerShell: How do I append a prefix to all files in a directory?

An alternative approach to a regular expression would be to use simple string operations to create the new file name. $items=Get-ChildItem; $items | Rename-Item -NewName { "Prefix_" + $_....
Seth's user avatar
  • 9,193
14 votes

PowerShell: How do I append a prefix to all files in a directory?

You are quite near. -replace uses RegEX and in a Regular Expression you anchor at the beginning with a ^ for a suffix you can similarly replace the anchor at line end with $ to avoid any possible ...
LotPings's user avatar
  • 7,251
4 votes

Bulk File Name Replace

You can use a batch-file to do this: for %%i in (<folder with the images>) do (set var=%%~i ren "%%~i" %var:~10% ) Which renames all of the files in the folder to remove the first ...
SP Tutors's user avatar
  • 510
3 votes
Accepted

How to check whether HDD is new or used?

The most reliable way is to look at the SMART values, using whatever tool you prefer for your platform. SMART values include Power_On_Hours, which should tell you if the disk is used or not. It will ...
dirkt's user avatar
  • 17k
3 votes

How I delete massive amounts of email from Outlook

If your outlook inbox is hosted on Outlook 365, you can set up a sweep rule and let the server clean up the mess in the background while your outlook is closed. I cleaned up an email mess of 100,000 ...
MikeJ's user avatar
  • 746
2 votes

PowerShell: How do I append a prefix to all files in a directory?

To remove prefix of all in folder: Get-ChildItem 'Folderpath\KB*' | Rename-Item -NewName { $_.Name -replace 'KB*','' } To Add a prefix to all in folder: foreach($item in 'Folderpath') { Get-...
donovan dunaway's user avatar
2 votes

Bulk rename files and folders, stripping all spaces from the name to underscore in Windows

Assume you meant 'replace' all spaces with underscores... in PS Get-ChildItems or gci is pretty powerful > gci -r -n Silly Windows Silly Windows\empty file2 Silly Windows\emptyfile1 &...
JimSander's user avatar
2 votes
Accepted

Rename files 000...001...002... to 001...002...003

This one-liner should work. Tested on macOS High Sierra (10.13.6). It works by using ls -r to list files in reverse order, and then—via the magic of math—just adding +1 to each file extension. The ...
Giacomo1968's user avatar
  • 55.9k
2 votes

Rename multiple folder names based on names contained within a txt file

You can use Advanced Renamer and it's List Method mentioned here: https://www.advancedrenamer.com/user_guide/method_list List method This is a very simple method. There are no fancy features in this ...
Fahdi's user avatar
  • 21
1 vote
Accepted

Is there a way to download files from a large list of addresses each linking to a single file?

Having FTP access to the site is best because that would allow you to download the folder AND file structure simultaneously. If you don't want to go through that, or you won't be granted FTP access, ...
music2myear's user avatar
1 vote
Accepted

How to bulk convert .pst to individual mails and folder structure?

Quite some time ago (details forgotten, has probably changed some) I used gmail as intermediate storage to transfer PST-file content to Thunderbird. Method outline: Create gmail account and make ...
Hannu's user avatar
  • 9,444
1 vote

How to bulk rename files in a directory using the Date column

I would Ignore the date column and decide which date I want to use: file creation date, file modified date or the "date taken" date from the AVI metadata. The first two are the easiest to make use of....
RedGrittyBrick's user avatar
1 vote

Linux: moving files from different directories with same name into one while renaming them

Most likely you will want "friendly" renames. Let's assume you have a struckture like Artist1-+ +-AlbumA-+ | +-Track1.mp3 | +-Track2.mp3 +-AlbumB-+ ...
Eugen Rieck's user avatar
  • 20.3k
1 vote

Cookies bulk edition

No. The methods that sites use to keep you logged in vary from site to site, and then these methods also change based on site changes. A better way would be to identify the sites you are actually ...
music2myear's user avatar
1 vote

How to check whether HDD is new or used?

You could also try to use forensic tools on the harddisk, to reveal if there was any content on it . Something like sleuthkit or the testdisk tool seems like a good place to start. (Edit: I meant the ...
TJ_Spark's user avatar
1 vote

Bulk Edit EXIF Tags of a Large Number of Photos

Exiftool will do what you want. It's a platform-independent Perl library plus a command-line application for reading, writing and editing meta information in a wide variety of files.
PiedPiper's user avatar
  • 204
1 vote

How to Rename multiple images with same name of the files in other folder?

Check out https://www.howtogeek.com/111859/how-to-batch-rename-files-in-windows-4-ways-to-rename-multiple-files/ "Bulk Rename Utility" or "Advanced Renamer" should satisfy your needs.
T Nierath's user avatar
  • 527
1 vote
Accepted

How to Rename multiple images with same name of the files in other folder?

You can use this code to rename your optimized images by deleting everything that's after the underline "_" (if your files don't have two underlines). @echo off for /F "delims=" %%I in ('dir /A-D /B *...
Service Desk Bunny's user avatar
1 vote

How to Rename multiple images with same name of the files in other folder?

I do it using these steps: Create list of source files using command Dir /on /b > source.txt Create list of target file names using command Dir /on /b > Target.txt Open MS excel Open Source.txt ...
Sandeep's user avatar
  • 1,170
1 vote

How to check whether HDD is new or used?

You can not rely on the SMART data, and TBH it seems wrong / tampered with in this case. It's common practice to reset SMART on refurbished drives. Specialized hardware allows to do this in bulk. But ...
Joep van Steen's user avatar
1 vote

How to check whether HDD is new or used?

Some of these comments are wrong. It's 2023, from what I read in customer hard drive reviews for Amazon, sellers are able to reset the hours count back to zero even when there are damages to the outer ...
eksine's user avatar
  • 11
1 vote

How to check whether HDD is new or used?

Did it look something like the below? If so, this is the standard packaging for a hdd to be delivered in. I believe it's just an anti static packaging which is sealed.
djsmiley2kStaysInside's user avatar
1 vote

LibreOffice, odt files batch search and replace

I created a python script that might help. In this example, I prompt for the details to be populated across various files, then create a project directory and write the new file with the variables ...
crafter's user avatar
  • 111
1 vote

Renaming multiple folders. Trimming down to first x characters

If there is always an _ after the first x characters, then the following will work from the command line (no batch needed) for /d %A in (*) do @for /f "delims=_ eol=_" %B in ("%A") do ren "%A" "%B" ...
dbenham's user avatar
  • 11.5k
1 vote

Renaming multiple folders. Trimming down to first x characters

You can use a FOR /F loop to set delimiters and tokens parsing folder name parts and use those to set variables for later use with the REN command. You also want to utilize the Setlocal ...
Vomit IT - Chunky Mess Style's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible