Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8841575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:45:10+00:00 2026-06-14T10:45:10+00:00

Many files in a directory ( /root/path/ ) have a strange character string appended

  • 0

Many files in a directory (/root/path/) have a strange character string appended to them (\#015). Help me replace them with regular names without the strange string.

I need:

/root/path/img1.png\#015
/root/path/img2.jpg
/root/path/img3.png\#015

To be:

/root/path/img1.png
/root/path/img2.jpg
/root/path/img3.png

Can you help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T10:45:11+00:00Added an answer on June 14, 2026 at 10:45 am
    for file in *\#015
    do
       mv -- "$file" "${file%\#015}"
    done
    

    You may need to escape the “\”s. Try it in a tmp directory first.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a directory of many files in Windows Vista. I'd like in a
I have a directory of text-based, compressed log files, each containing many records. In
I have many many files in a folder, and I want to process them
I have a physical Directory structure as : Root directory (X) -> many subdirectory
I noticed many files in my directory, called sedAbCdEf or such. Why does it
I am writing many files to disk, and I would like to split them
I'm trying to compile many files using the Compiler API. Say I have a
On a typical OS how many files can i have opened at once using
I have a complex MATLAB-Simulink project involving many m-files and mdl-files. Some m-files define
I have a directory with about 4500 XML (HTML5) files, and I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.