Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Snippet to Rename a File #225

Closed
wants to merge 6 commits into from

Conversation

rajeshsgr
Copy link

Code snippet which can customize the file names by taking user input or using command-line arguments.


}
}
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add an extra line at EOF to satisfy github.

Copy link

@Ritabrata1080 Ritabrata1080 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please squash all the commits into a single commit.

@@ -0,0 +1,44 @@
package file;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Check the other files and update the file header please.
  2. Also squash all the commits.
  3. Just add 1 empty line at the EOF instead of adding multiple lines. Also no need to write anything in the empty line, it will defeat the purpose of empty line addition. I can see you have written "//EOF" which is flawed.

With these changes, the PR looks good to me.

@rajeshsgr rajeshsgr closed this Oct 13, 2024
@rajeshsgr rajeshsgr deleted the hacktober-fest-raje-pr1 branch October 13, 2024 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants